Skip to content
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

Fix mangling nested dothash expressions #1068

Merged
merged 1 commit into from Sep 11, 2021

Conversation

jridgewell
Copy link
Collaborator

We forgot to define the transform function for AST_DotHash. Since it's the same as AST_Dot, I opted to share on the base AST_PropAccess class and just list AST_Sub define it's own special transform.

Fixes #1067.

We forgot to define the transform function for `AST_DotHash`. Since it's the same as `AST_Dot`, I opted to share on the base `AST_PropAccess` class and just list `AST_Sub` define it's own special transform.
@fabiosantoscode
Copy link
Collaborator

Oh, nice catch!

@fabiosantoscode fabiosantoscode merged commit 748e3a6 into terser:master Sep 11, 2021
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.

Nested private class field does not get mangled properly
2 participants