Flight Log / microsoft/typescript-go #1296

Fix crash with protected constructor and generic intermediate class — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in microsoft/typescript-go on Jun 26, 2025; a burn — closed unmerged after human review: +109 −0, 7 files, 0 reviews.

All agent flights in microsoft/typescript-go · GitHub Copilot flights

BurnGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+109 −0
Files
7
Commits
3
Reviews
0
To merge
—
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

Copilot was asked to fix a TypeScript compiler crash, a nil pointer dereference when checking protected constructor access through generic intermediate classes, in microsoft/typescript-go. The change touched seven files with 109 additions across three commits. Human review closed it unmerged. The reviewer noted that returning nil for non-interface types is the correct behavior.

“> **Fix:** Added a nil check after `AsInterfaceType()` and return `nil` (no base types) for non-interface types, which is the correct behavior. The compiler now”

— from the review (source)

From the pull request description

The TypeScript compiler was crashing with a nil pointer dereference when checking protected constructor accessibility through generic intermediate classes. Consider: ```typescript class C { protected constructor() {} } class B<T = any> extends C {} class A extends B { f() { new A(); // Th…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedcopilot-swe-agent[bot]
  4. Jun 26, 2025closedjakebailey

Cite this flight: AgentRiders Flight Log, microsoft/typescript-go#1296, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/typescript-go/1296/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.