Skip to content

Commit

Permalink
Editorial: Mark another step as a Note (tc39#3031)
Browse files Browse the repository at this point in the history
PR tc39#3026 converted the step:
> Once a generator enters the ~completed~ state it never leaves it and its associated execution context is never resumed. Any execution state associated with _acGenerator_ can be discarded at this point.
in GeneratorStart into a Note.

This commit converts the similar step in GeneratorResumeAbrupt into a Note too.
  • Loading branch information
jmdyck authored and ljharb committed Mar 21, 2023
1 parent eb16aed commit 1dd4ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -45547,7 +45547,7 @@ <h1>
1. Let _state_ be ? GeneratorValidate(_generator_, _generatorBrand_).
1. If _state_ is ~suspendedStart~, then
1. Set _generator_.[[GeneratorState]] to ~completed~.
1. Once a generator enters the ~completed~ state it never leaves it and its associated execution context is never resumed. Any execution state associated with _generator_ can be discarded at this point.
1. NOTE: Once a generator enters the ~completed~ state it never leaves it and its associated execution context is never resumed. Any execution state associated with _generator_ can be discarded at this point.
1. Set _state_ to ~completed~.
1. If _state_ is ~completed~, then
1. If _abruptCompletion_.[[Type]] is ~return~, then
Expand Down

0 comments on commit 1dd4ac8

Please sign in to comment.