Skip to content

Commit

Permalink
fixup: "The above step [never] completes" -> "This step is [never] re…
Browse files Browse the repository at this point in the history
…ached"
  • Loading branch information
jmdyck committed Jan 10, 2024
1 parent 85de8ab commit 1f40ed7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -47620,7 +47620,7 @@ <h1>
1. Let _finalCompletion_ be _result_.
1. Let _callerContext_ be the running execution context.
1. Transfer control from _acGenContext_ to _callerContext_, passing _finalCompletion_.
1. NOTE: The above step never completes, because control is never transferred back to _acGenContext_.
1. NOTE: This step is never reached, because control is never transferred back to _acGenContext_.
1. Set _genContext_'s code evaluation state to _closure_.
1. NOTE: The next time there is a transfer of control to _genContext_, _closure_ will be called with no arguments.
1. Set _generator_.[[GeneratorContext]] to _genContext_.
Expand Down Expand Up @@ -47668,7 +47668,7 @@ <h1>
1. Set _generator_.[[GeneratorState]] to ~executing~.
1. Push _genContext_ onto the execution context stack; _genContext_ is now the running execution context.
1. Transfer control from _methodContext_ to _genContext_, passing NormalCompletion(_value_).
1. NOTE: The above step completes only if/when control is transferred back to _methodContext_.
1. NOTE: This step is reached only if/when control is transferred back to _methodContext_.
1. Let _result_ be the Completion Record passed when control was transferred back to _methodContext_.
1. Assert: _genContext_ has already been removed from the execution context stack and _methodContext_ is the currently running execution context.
1. Return ? _result_.
Expand Down Expand Up @@ -47701,7 +47701,7 @@ <h1>
1. Set _generator_.[[GeneratorState]] to ~executing~.
1. Push _genContext_ onto the execution context stack; _genContext_ is now the running execution context.
1. Transfer control from _methodContext_ to _genContext_, passing _abruptCompletion_.
1. NOTE: The above step completes only if/when control is transferred back to _methodContext_.
1. NOTE: This step is reached only if/when control is transferred back to _methodContext_.
1. Let _result_ be the Completion Record passed when control was transferred back to _methodContext_.
1. Assert: _genContext_ has already been removed from the execution context stack and _methodContext_ is the currently running execution context.
1. Return ? _result_.
Expand Down Expand Up @@ -47738,7 +47738,7 @@ <h1>
1. Remove _genContext_ from the execution context stack.
1. Let _callerContext_ be the running execution context.
1. Transfer control from _genContext_ to _callerContext_, passing NormalCompletion(_iterNextObj_).
1. NOTE: The above step completes only if/when control is transferred back to _genContext_.
1. NOTE: This step is reached only if/when control is transferred back to _genContext_.
1. Let _resumptionValue_ be the Completion Record passed when control was transferred back to _genContext_.
1. Assert: _genContext_ is the running execution context again.
1. Return _resumptionValue_.
Expand Down Expand Up @@ -47980,7 +47980,7 @@ <h1>
1. Perform AsyncGeneratorDrainQueue(_acGenerator_).
1. Let _callerContext_ be the running execution context.
1. Transfer control from _acGenContext_ to _callerContext_, passing NormalCompletion(*undefined*).
1. NOTE: The above step never completes, because control is never transferred back to _acGenContext_.
1. NOTE: This step is never reached, because control is never transferred back to _acGenContext_.
1. Set _genContext_'s code evaluation state to _closure_.
1. NOTE: The next time there is a transfer of control to _genContext_, _closure_ will be called with no arguments.
1. Set _generator_.[[AsyncGeneratorContext]] to _genContext_.
Expand Down Expand Up @@ -48074,7 +48074,7 @@ <h1>
1. Set _generator_.[[AsyncGeneratorState]] to ~executing~.
1. Push _genContext_ onto the execution context stack; _genContext_ is now the running execution context.
1. Transfer control from _callerContext_ to _genContext_, passing _completion_.
1. NOTE: The above step completes only if/when control is transferred back to _callerContext_.
1. NOTE: This step is reached only if/when control is transferred back to _callerContext_.
1. Let _result_ be the Completion Record passed when control was transferred back to _callerContext_.
1. Assert: _result_ is never an abrupt completion.
1. Assert: _genContext_ has already been removed from the execution context stack and _callerContext_ is the currently running execution context.
Expand Down Expand Up @@ -48128,7 +48128,7 @@ <h1>
1. Remove _genContext_ from the execution context stack.
1. Let _callerContext_ be the running execution context.
1. Transfer control from _genContext_ to _callerContext_, passing NormalCompletion(*undefined*).
1. NOTE: The above step completes only if/when control is transferred back to _genContext_.
1. NOTE: This step is reached only if/when control is transferred back to _genContext_.
1. Let _resumptionValue_ be the Completion Record passed when control was transferred back to _genContext_.
1. Assert: _genContext_ is the running execution context again.
1. Return ? AsyncGeneratorUnwrapYieldResumption(_resumptionValue_).
Expand Down Expand Up @@ -48373,12 +48373,12 @@ <h1>
1. Perform ! Call(_promiseCapability_.[[Reject]], *undefined*, « _result_.[[Value]] »).
1. Let _callerContext_ be the running execution context.
1. [id="step-asyncblockstart-return-undefined"] Transfer control from _acAsyncContext_ to _callerContext_, passing NormalCompletion(~unused~).
1. NOTE: The above step never completes, because control is never transferred back to _acAsyncContext_.
1. NOTE: This step is never reached, because control is never transferred back to _acAsyncContext_.
1. Set _asyncContext_'s code evaluation state to _closure_.
1. NOTE: The next time there is a transfer of control to _asyncContext_, _closure_ will be called with no arguments.
1. Push _asyncContext_ onto the execution context stack; _asyncContext_ is now the running execution context.
1. Transfer control from _runningContext_ to _asyncContext_, passing NormalCompletion(~unused~).
1. NOTE: The above step completes only if/when control is transferred back to _runningContext_.
1. NOTE: This step is reached only if/when control is transferred back to _runningContext_.
1. Let _result_ be the Completion Record passed when control was transferred back to _runningContext_.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _runningContext_ is the currently running execution context.
1. Assert: _result_ is a normal completion with a value of ~unused~. The possible sources of this value are Await or, if the async function doesn't await anything, step <emu-xref href="#step-asyncblockstart-return-undefined"></emu-xref> above.
Expand All @@ -48401,23 +48401,23 @@ <h1>
1. Let _prevContext_ be the running execution context.
1. Push _asyncContext_ onto the execution context stack; _asyncContext_ is now the running execution context.
1. Transfer control from _prevContext_ to _asyncContext_, passing NormalCompletion(_v_).
1. NOTE: The above step completes only if/when control is transferred back to _prevContext_.
1. NOTE: This step is reached only if/when control is transferred back to _prevContext_.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _prevContext_ is the currently running execution context.
1. Return *undefined*.
1. Let _onFulfilled_ be CreateBuiltinFunction(_fulfilledClosure_, 1, *""*, « »).
1. Let _rejectedClosure_ be a new Abstract Closure with parameters (_reason_) that captures _asyncContext_ and performs the following steps when called:
1. Let _prevContext_ be the running execution context.
1. Push _asyncContext_ onto the execution context stack; _asyncContext_ is now the running execution context.
1. Transfer control from _prevContext_ to _asyncContext_, passing ThrowCompletion(_reason_).
1. NOTE: The above step completes only if/when control is transferred back to _prevContext_.
1. NOTE: This step is reached only if/when control is transferred back to _prevContext_.
1. Assert: _asyncContext_ has already been removed from the execution context stack and _prevContext_ is the currently running execution context.
1. Return *undefined*.
1. Let _onRejected_ be CreateBuiltinFunction(_rejectedClosure_, 1, *""*, « »).
1. Perform PerformPromiseThen(_promise_, _onFulfilled_, _onRejected_).
1. Remove _asyncContext_ from the execution context stack.
1. Let _callerContext_ be the running execution context.
1. Transfer control from _asyncContext_ to _callerContext_, passing NormalCompletion(~empty~).
1. NOTE: The above step completes only if/when control is transferred back to _asyncContext_.
1. NOTE: This step is reached only if/when control is transferred back to _asyncContext_.
1. Let _completion_ be the Completion Record passed when control was transferred back to _asyncContext_.
1. Assert: _asyncContext_ is the running execution context again.
1. Return _completion_.
Expand Down

0 comments on commit 1f40ed7

Please sign in to comment.