Skip to content

Commit

Permalink
Editorial: AsyncGeneratorAwaitReturn does not throw (#2683)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored and ljharb committed Jun 26, 2024
1 parent 6363c2d commit 32e8809
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -48263,7 +48263,7 @@ <h1>%AsyncGeneratorPrototype%.return ( _value_ )</h1>
1. Let _state_ be _generator_.[[AsyncGeneratorState]].
1. If _state_ is either ~suspended-start~ or ~completed~, then
1. Set _generator_.[[AsyncGeneratorState]] to ~awaiting-return~.
1. Perform ! AsyncGeneratorAwaitReturn(_generator_).
1. Perform AsyncGeneratorAwaitReturn(_generator_).
1. Else if _state_ is ~suspended-yield~, then
1. Perform AsyncGeneratorResume(_generator_, _completion_).
1. Else,
Expand Down Expand Up @@ -48552,7 +48552,7 @@ <h1>
<h1>
AsyncGeneratorAwaitReturn (
_generator_: an AsyncGenerator,
): either a normal completion containing ~unused~ or a throw completion
): ~unused~
</h1>
<dl class="header">
</dl>
Expand Down Expand Up @@ -48609,7 +48609,7 @@ <h1>
1. Let _completion_ be Completion(_next_.[[Completion]]).
1. If _completion_ is a return completion, then
1. Set _generator_.[[AsyncGeneratorState]] to ~awaiting-return~.
1. Perform ! AsyncGeneratorAwaitReturn(_generator_).
1. Perform AsyncGeneratorAwaitReturn(_generator_).
1. Set _done_ to *true*.
1. Else,
1. If _completion_ is a normal completion, then
Expand Down

0 comments on commit 32e8809

Please sign in to comment.