Skip to content

Commit

Permalink
Editorial: AsyncGeneratorAwaitReturn does not throw
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed May 2, 2024
1 parent f4bce98 commit f32ef41
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 @@ -47791,7 +47791,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 @@ -48076,7 +48076,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 @@ -48133,7 +48133,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 f32ef41

Please sign in to comment.