Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upForIn/OfBodyEvaluation: missing return if IteratorComplete #1107
Comments
woess
referenced this issue
Feb 21, 2018
Merged
Normative: Add missing return if IteratorComplete to ForIn/OfBodyEvaluation #1111
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Cc @domenic |
ljharb
closed this
in
#1111
Oct 5, 2018
ljharb
added
the
spec bug
label
Oct 5, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
woess commentedFeb 19, 2018
#1066 changed 13.7.5.13 Runtime Semantics: ForIn/OfBodyEvaluation:
Note how the step
If _nextResult_ is *false*, return NormalCompletion(_V_).is gone without replacement.Unless I'm missing something, I believe the following steps should be inserted before
Let _nextValue_ be ? IteratorValue(_nextResult_):