-
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
Declaring same variable inside switch
causes outer one to drop
#5787
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
Declaring the same variable name inside
switch
causes the outer one to drop when uglified withunused=true
option.Uglify version (
uglifyjs -V
)JavaScript input
The
uglifyjs
CLI command executed orminify()
options used.Disable most of features and set
unused=true
:JavaScript output or error produced.
The text was updated successfully, but these errors were encountered: