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

fix #12: PropertyName kind can conflict with value #28

Merged
merged 2 commits into from Jan 15, 2015
Merged

Conversation

ikarienator
Copy link
Contributor

No description provided.

@michaelficarra
Copy link
Member

You mean shapesecurity/shift-spec#12

@@ -274,7 +275,7 @@ public ValidationContext reduceLiteralNumericExpression(
@NotNull LiteralNumericExpression node,
@NotNull List<Branch> path) {
ValidationContext v = new ValidationContext();
if (node.value < 0 || node.value == 0 && 1 / node.value < 0) {
if (node.value < 0 || 1 / node.value < 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert this for (minor) performance.

@michaelficarra
Copy link
Member

Ping @ikarienator.

michaelficarra added a commit that referenced this pull request Jan 15, 2015
fix #12: PropertyName kind can conflict with value
@michaelficarra michaelficarra merged commit 1527236 into master Jan 15, 2015
@michaelficarra michaelficarra deleted the fix-12 branch January 15, 2015 21:00
michaelficarra added a commit that referenced this pull request Aug 28, 2015
fix #12: PropertyName kind can conflict with value
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.

None yet

2 participants