Skip to content

temporary fix for boolean bug#1597

Merged
alexlamsl merged 1 commit intomishoo:masterfrom
alexlamsl:issue-1592
Mar 10, 2017
Merged

temporary fix for boolean bug#1597
alexlamsl merged 1 commit intomishoo:masterfrom
alexlamsl:issue-1592

Conversation

@alexlamsl
Copy link
Copy Markdown
Collaborator

fixes #1592

@alexlamsl alexlamsl merged commit e3a3db7 into mishoo:master Mar 10, 2017
@alexlamsl alexlamsl deleted the issue-1592 branch March 10, 2017 20:59
alexlamsl added a commit to alexlamsl/UglifyJS that referenced this pull request Mar 15, 2017
As patched in mishoo#1597, `make_node_from_constant()` makes inconsistent and sometimes incorrect calls to `optimize()` and `transform()`.

Fix those issues properly by changing the semantics of `evaluate()` and `make_node_from_constant()`, with the side effect that `evaluate()` no longer eagerly converts constant to `AST_Node`.
alexlamsl added a commit that referenced this pull request Mar 15, 2017
As patched in #1597, `make_node_from_constant()` makes inconsistent and sometimes incorrect calls to `optimize()` and `transform()`.

Fix those issues properly by changing the semantics of `evaluate()` and `make_node_from_constant()`, with the side effect that `evaluate()` no longer eagerly converts constant to `AST_Node`.
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.

Unexpected dead code removal of string compare result

1 participant