Flight Log / microsoft/TypeScript #62070

Fix false positive "no overlap" error when comparing `this` with subclass instances — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in microsoft/TypeScript on Jul 15, 2025; open and stale: +915 −40, 11 files, 1 review.

All agent flights in microsoft/TypeScript · GitHub Copilot flights

StaleGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+915 −40
Files
11
Commits
6
Reviews
1
To merge
—
Task
fix

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

From the pull request description

TypeScript incorrectly reported error TS2367 "This comparison appears to be unintentional because the types 'this' and 'BB' have no overlap" when comparing `this` with an instance of a subclass, even though the comparison is legitimate and works correctly at runtime. Consider this example: ```type…

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. —committedcopilot-swe-agent[bot]
  5. —reviewed
  6. —committedRyan Cavanaugh
  7. —committedRyan Cavanaugh
  8. Jul 15, 2025labeledtypescript-bot

Cite this flight: AgentRiders Flight Log, microsoft/TypeScript#62070, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/TypeScript/62070/

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