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

JS minify: incorrect assignment order #472

Closed
jmooring opened this issue Mar 31, 2022 · 2 comments
Closed

JS minify: incorrect assignment order #472

jmooring opened this issue Mar 31, 2022 · 2 comments

Comments

@jmooring
Copy link
Contributor

source

(function() {
  var foo = bar;
  var baz = foo.wibble, quz = foo.wobble;
})();

2.9.29 (correct)

(function(){e=bar;var e,t=e.wibble,n=e.wobble})()

2.10.0 (incorrect)

(function(){var t=e.wibble,n=e.wobble,e=bar})()
@tdewolff
Copy link
Owner

tdewolff commented Apr 2, 2022

Hi Joe, thanks for reporting. This is a high priority issue, I'm looking into it.

@tdewolff
Copy link
Owner

tdewolff commented Apr 2, 2022

Should be fixed now, waiting for some outstanding work to be incorporated to release a new version.

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

No branches or pull requests

2 participants