This repository was archived by the owner on Feb 1, 2025. It is now read-only.
Repository navigation
Read left side of update assignment before right side yields. - #349
Merged
Merged
Conversation
benjamn
force-pushed
the
issue-345-fix-yielding-update-assignments
branch
from
June 23, 2018 16:44
af5d012 to
837527a
Compare
benjamn
force-pushed
the
issue-345-fix-yielding-update-assignments
branch
3 times, most recently
from
June 23, 2018 18:28
f7fb377 to
cc3a757
Compare
benjamn
added a commit
to benjamn/babel
that referenced
this pull request
Jun 23, 2018
benjamn
added a commit
that referenced
this pull request
Jun 23, 2018
benjamn
added a commit
to benjamn/babel
that referenced
this pull request
Jun 23, 2018
Andarist
pushed a commit
to babel/babel
that referenced
this pull request
Jun 24, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #345.
In addition to the examples provided by @loganfsmyth and @lovetingyuan in #345, I found another even trickier failing test case, where the left-hand side also yields:
Here's how the
testgenerator function was previously compiled, incorrectly:And here's how the
testfunction is now compiled, correctly: