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.

All agent flights in microsoft/TypeScript · GitHub Copilot flights

StaleGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

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.

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. —reviewed
  5. —committedcopilot-swe-agent[bot]
  6. —committedcopilot-swe-agent[bot]
  7. —reviewed
  8. Jun 24, 2025labeledtypescript-bot
  9. Jun 24, 2025changes requestedRyanCavanaugh↗
  10. Jun 25, 2025changes requestedweswigham↗
  11. Jun 25, 2025changes requestedweswigham↗
  12. Jul 1, 2025changes requestedweswigham↗
  13. Jul 1, 2025changes requestedweswigham↗

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.