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 assignment expression parentheses #3242

Closed
wants to merge 2 commits into from
Closed

Conversation

amasad
Copy link
Member

@amasad amasad commented Jan 6, 2016

Because we made Binary an alias of assignment expressions

fixes https://phabricator.babeljs.io/T6927 and https://phabricator.babeljs.io/T6926

Because we made Binary an alias of assignment expressions
@hzoo
Copy link
Member

hzoo commented Jan 6, 2016

#3217 - yeah the tests didn't cover it well I guess

No need for a seperate assignment expression visitor, just inline the
contents inside the if block
@amasad
Copy link
Member Author

amasad commented Jan 7, 2016

This is causing other unintended consequences that I don't really understand, like parenthesizing something twice. I think I'll push a revert for now

@amasad
Copy link
Member Author

amasad commented Jan 7, 2016

superseded by #3245

@amasad amasad closed this Jan 7, 2016
@hzoo hzoo deleted the assignment-parenth branch January 8, 2016 23:11
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 7, 2019
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 this pull request may close these issues.

2 participants