-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ES6] Bug in rename and destructuring #5792
Labels
Comments
Thanks for the detailed report − investigating. |
alexlamsl
added a commit
to alexlamsl/UglifyJS
that referenced
this issue
Jun 5, 2024
alexlamsl
added a commit
to alexlamsl/UglifyJS
that referenced
this issue
Jun 5, 2024
alexlamsl
added a commit
to alexlamsl/UglifyJS
that referenced
this issue
Jun 5, 2024
alexlamsl
added a commit
to alexlamsl/UglifyJS
that referenced
this issue
Jun 5, 2024
alexlamsl
added a commit
to alexlamsl/UglifyJS
that referenced
this issue
Jun 5, 2024
Patch released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uglify version 3.17.4
JavaScript input
This code is already mangled from a previous pass, but it is actually the input in this test case.
source-file.js
:The
uglifyjs
CLI command executed orminify()
options used.npx uglifyjs --compress --mangle -- source-file.js
JavaScript output or error produced.
Note the empty destructuring, probably the intention was to produce
b
, that is used in theswitch
branch (then correctly optimized with anif
).Thanks, L
The text was updated successfully, but these errors were encountered: