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

avoid arguments and eval in reduce_vars #1924

Merged
merged 1 commit into from
May 12, 2017

Conversation

alexlamsl
Copy link
Collaborator

fixes #1922

Backport candidate for v2.x

(TODO: minimise false positives of AST_Scope.uses_arguments and AST_Scope.uses_eval)

@alexlamsl alexlamsl merged commit ac73c5d into mishoo:master May 12, 2017
@alexlamsl alexlamsl deleted the issue-1922 branch May 12, 2017 04:34
alexlamsl added a commit to alexlamsl/UglifyJS that referenced this pull request May 12, 2017
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.

Do not optimize unused variables within the scope of eval()
1 participant