Skip to content

Commit

Permalink
fix spec error by replacing IteratorStep with IteratorStepValue
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Jun 21, 2024
1 parent 6fd8aa9 commit 5e6e3c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ copyright: false
1. Let _iteratorRecord_ be ? GetIteratorFlattenable(_iter_, ~iterate-strings~).
1. Let _innerAlive_ be *true*.
1. Repeat, while _innerAlive_ is *true*,
1. Let _innerNext_ be ? IteratorStep(_iteratorRecord_).
1. If _innerNext_ is *false*, then
1. Let _innerValue_ be ? IteratorStepValue(_iteratorRecord_).
1. If _innerValue_ is ~done~, then
1. Set _innerAlive_ to *false*.
1. Else,
1. Let _innerValue_ be ? IteratorValue(_innerNext_).
1. Let _completion_ be Completion(Yield(_innerValue_)).
1. If _completion_ is an abrupt completion, then
1. Return ? IteratorClose(_iteratorRecord_, _completion_).
Expand Down

0 comments on commit 5e6e3c3

Please sign in to comment.