Flight Log / microsoft/TypeScript #61926
Fix local function variables being suggested in parameter defaults — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/TypeScript on Jun 23, 2025; a burn — closed unmerged after human review: +235 −187, 5 files, 1 review.
- Lines
- +235 −187
- Files
- 5
- Commits
- 6
- Reviews
- 1 (1 ✕)
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot opened a fix for microsoft/TypeScript so local function variables stop appearing as completions inside parameter default expressions. The change spanned five files, with 235 additions and 187 deletions across six commits. A human reviewer requested one change, writing "Start over. This is too large a fix." The PR was closed unmerged, a burn.
“Start over. This is too large a fix. All we need to do here is consult the symbol table from the parent scope (the one”
— from the review (source)
From the pull request description
This PR addresses an issue where local function variables declared inside a function body were incorrectly being suggested as completions within parameter default expressions. ## Problem When writing a function with default parameters, the completion system would suggest variables that are declare…
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]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- Jun 23, 2025labeledtypescript-bot
- Jun 23, 2025labeledtypescript-bot
- Jun 23, 2025changes requestedRyanCavanaugh↗
- Jun 24, 2025closedRyanCavanaugh
Read next
Cite this flight: AgentRiders Flight Log, microsoft/TypeScript#61926, record updated Nov 3, 2026, https://agentriders.com/logs/microsoft/TypeScript/61926/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.