Skip to content

Port TypeScript#63071: Mark downlevelIteration as removed#2820

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-removed-diag-for-downleveliteration
Draft

Port TypeScript#63071: Mark downlevelIteration as removed#2820
Copilot wants to merge 2 commits intomainfrom
copilot/add-removed-diag-for-downleveliteration

Conversation

Copy link
Contributor

Copilot AI commented Feb 18, 2026

Ports microsoft/TypeScript#63071. Rather than adding a deprecation diagnostic (TS5101) as in the upstream PR, this adds a "removed" diagnostic consistent with how the Go port handles other removed options.

  • internal/compiler/program.go: Emit removed-option diagnostic when downlevelIteration is explicitly set (true or false)
  • internal/testutil/harnessutil/harnessutil.go: Skip submodule tests that set downlevelIteration
  • Baselines: Delete 118 now-unused baseline files from newly skipped tests

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: jakebailey <5341706+jakebailey@users.noreply.github.com>
Copilot AI changed the title [WIP] Add removed diagnostic for downlevelIteration Port TypeScript#63071: Mark downlevelIteration as removed Feb 18, 2026
Copilot AI requested a review from jakebailey February 18, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants