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

Evaluate should respect order of expressions (T7521) #4420

Closed
babel-bot opened this issue Jul 28, 2016 · 0 comments · Fixed by #4875
Closed

Evaluate should respect order of expressions (T7521) #4420

babel-bot opened this issue Jul 28, 2016 · 0 comments · Fixed by #4875
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@babel-bot
Copy link
Collaborator

Issue originally made by @boopathi

Input code

var a = b + 2; var b = 2 + 2;

Description

Evaluate should respect the order of expressions.

For the input given, it should evaluate to var a = b + 2; var b = 4

and during runtime it'll be NaN, 4 But path.evaluate of this returns var a = 6; var b = 4

@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label May 6, 2018
@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant