Skip to content

Conversation

a-tarasyuk
Copy link
Contributor

Fixes #35050

@typescript-bot typescript-bot added the For Milestone Bug PRs that fix a bug with a specific milestone label Dec 14, 2020
@rbuckton
Copy link
Contributor

rbuckton commented Jul 8, 2021

Class declarations are block scoped variables, so this could possibly introduce a collision if there is a let declaration in an outer scope. I may amend this PR slightly to only use getInternalName when we know this is being moved to an IIFE for ES5/3.

@a-tarasyuk
Copy link
Contributor Author

@rbuckton Thanks for the help.

@rbuckton rbuckton merged commit a15030f into microsoft:main Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Milestone Bug PRs that fix a bug with a specific milestone
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Decorator emit incorrect within try block
3 participants