Skip to content

Conversation

@TysonAndre
Copy link
Contributor

This does not fix every single edge case.
This only fixes the edge cases for unary operators
on the left hand side of binary operators expecting a variable.

  • if (!$x = expr()) is something I've seen frequently, which is why I'm fixing this here. A complete fix would probably be more complex (e.g. deeply nested binary operators)

(That probably isn't even every single binary operator or unary operator)

See #19 (comment) and #19 (comment)

This does not fix every single edge case.
This only fixes the edge cases for unary operators
on the left hand side of binary operators expecting a variable.

(That probably isn't even every single binary operator or unary operator)
@TysonAndre
Copy link
Contributor Author

Is there anything that needs to be addressed for this or PR 232?

@roblourens roblourens merged commit 694b153 into microsoft:master Mar 18, 2018
@roblourens
Copy link
Member

Thanks for the PRs!

@TysonAndre TysonAndre deleted the fix-unary-lhs-binary branch June 19, 2018 02:15
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.

2 participants