diff --git a/spec.html b/spec.html index 9fc41b4652..46b38e094b 100644 --- a/spec.html +++ b/spec.html @@ -48263,7 +48263,7 @@

%AsyncGeneratorPrototype%.return ( _value_ )

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, @@ -48552,7 +48552,7 @@

AsyncGeneratorAwaitReturn ( _generator_: an AsyncGenerator, - ): either a normal completion containing ~unused~ or a throw completion + ): ~unused~

@@ -48609,7 +48609,7 @@

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