Skip to content

Conversation

rbuckton
Copy link
Contributor

@rbuckton rbuckton commented Jan 6, 2023

This fixes an issue with generated private name collision and an issue where we incorrectly transform an auto-accessor in --target ESNext --useDefineForClassFields=false. This also avoids transforming auto-accessors or hoisting private field initializers when not necessary.

Fixes #51887
Fixes #51888

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jan 6, 2023
Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

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

LGTM with one comment.

@rbuckton rbuckton merged commit 90fb764 into main Jan 7, 2023
@rbuckton rbuckton deleted the fix-auto-accessor-emit branch January 7, 2023 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
4 participants