Flight Log / microsoft/TypeScript #61934
Fix using transform variable shadowing in for-of loops — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/TypeScript on Jun 24, 2025; open and stale: +27,245 −6,513, 321 files, 10 reviews.
- Lines
- +27,245 −6,513
- Files
- 321
- Commits
- 11
- Reviews
- 10 (5 ✕)
- 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
The `using` declaration transform was throwing "redeclaration of const" errors when the for-of loop body contained variables that shadowed the `using` variable name. **Problem:** ```ts class Foo {} for (using foo of []) { const foo = new Foo(); // Error: redeclaration of const foo } ``` The tran…
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]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- Jun 24, 2025labeledtypescript-bot
- Jun 24, 2025changes requestedRyanCavanaugh↗
- Jun 25, 2025changes requestedweswigham↗
- Jun 25, 2025changes requestedweswigham↗
- Jul 1, 2025changes requestedweswigham↗
- Jul 1, 2025changes requestedweswigham↗
Read next
Cite this flight: AgentRiders Flight Log, microsoft/TypeScript#61934, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/TypeScript/61934/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.