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
Mistakes when mangle top-level names #3301
Comments
Have you tried |
After renaming { code: 'var n=function(){};function c(){}' }
{ code: 'var t=function(t){function e(){}return n(e,t),e}(c);' } I also tested complex |
FWIW, this mangle regression occurred in f40f5eb. |
Thanks! |
Bug report
Uglify version (
uglifyjs -V
)uglify-js@3.4.9
JavaScript input
The
uglifyjs
CLI command executed orminify()
options used.JavaScript output
What is the mistake
extend
is renamed ton
super
in the second input is also renamed ton
extend
in the second input withn
, which collides withsuper
n(t, n)
will callsuper(B, super)
The text was updated successfully, but these errors were encountered: