Skip to content

Commit 26bd708

Browse files
fully match yield* by doing one last IteratorValue (#19)
* fully match yield* by doing one last IteratorValue (15.5.5 step 7.a.v.1) * simplify
1 parent b1d267c commit 26bd708

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec.emu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ copyright: false
2727
1. Repeat, while _innerAlive_ is *true*,
2828
1. Let _iteratorResult_ be ? IteratorStep(_iteratorRecord_).
2929
1. If _iteratorResult_ is ~done~, then
30+
1. Perform ? IteratorValue(_iteratorResult_).
3031
1. Set _innerAlive_ to *false*.
3132
1. Else,
3233
1. Let _completion_ be Completion(GeneratorYield(_iteratorResult_)).

0 commit comments

Comments
 (0)