Skip to content

Fix crash in private accessor emit #52785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 16, 2023
Merged

Fix crash in private accessor emit #52785

merged 1 commit into from
Feb 16, 2023

Conversation

rbuckton
Copy link
Contributor

This fixes a crash when emitting private accessors when useDefineForClassFields is false. Prior to 5.0, this was not a crash but was emitting incorrectly.

Fixes #51528

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Feb 15, 2023
@rbuckton rbuckton merged commit 7dd2a5e into main Feb 16, 2023
@rbuckton rbuckton deleted the fix51528 branch February 16, 2023 19:38
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
Development

Successfully merging this pull request may close these issues.

private Auto-accessors do not transform in esnext when useDefineForClassFields is false
3 participants