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.
- 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.
View the pull request 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
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedRyan Cavanaugh
- —committedRyan Cavanaugh
- Jul 15, 2025labeledtypescript-bot
Read next
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.