Skip to content

fix(typescript): Allow references to the global Symbol in computed property names under isolatedDeclarations#9869

Merged
kdy1 merged 4 commits intoswc-project:mainfrom
CPunisher:fix/dts-symbol
Jan 23, 2025
Merged

fix(typescript): Allow references to the global Symbol in computed property names under isolatedDeclarations#9869
kdy1 merged 4 commits intoswc-project:mainfrom
CPunisher:fix/dts-symbol

Conversation

@CPunisher
Copy link
Member

fixes #9859
ref: microsoft/TypeScript#58771

Pass unresolved_mark to FastDts so it can check whether a Symbol ident refs to global Symbol.

@CPunisher CPunisher requested review from a team as code owners January 12, 2025 03:04
@changeset-bot
Copy link

changeset-bot bot commented Jan 12, 2025

🦋 Changeset detected

Latest commit: 1dddd25

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kdy1 kdy1 self-assigned this Jan 13, 2025
@kdy1 kdy1 added this to the Planned milestone Jan 13, 2025
kdy1
kdy1 previously approved these changes Jan 13, 2025
Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge this when I'm going to create a breaking change of swc_core

@kdy1
Copy link
Member

kdy1 commented Jan 22, 2025

Can you rebase?

@kdy1 kdy1 enabled auto-merge (squash) January 23, 2025 03:45
@kdy1 kdy1 changed the title fix(typescript): Allow references to the global Symbol in computed property names under isolatedDeclarations fix(typescript): Allow references to the global Symbol in computed property names under isolatedDeclarations Jan 23, 2025
@kdy1 kdy1 merged commit e4c1e03 into swc-project:main Jan 23, 2025
166 checks passed
@kdy1 kdy1 modified the milestones: Planned, v1.10.10 Jan 27, 2025
@swc-project swc-project locked as resolved and limited conversation to collaborators Feb 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Iterator method incorrectly fails with error when using emitIsolatedDts

2 participants