Skip to content

Commit affcec0

Browse files
michaelficarraljharb
authored andcommitted
Editorial: mark generatorBody() as a completion record in GeneratorStart (#3597)
1 parent 58f1172 commit affcec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49808,7 +49808,7 @@ <h1>
4980849808
1. Let _result_ be Completion(Evaluation of _generatorBody_).
4980949809
1. Else,
4981049810
1. Assert: _generatorBody_ is an Abstract Closure with no parameters.
49811-
1. Let _result_ be _generatorBody_().
49811+
1. Let _result_ be Completion(_generatorBody_()).
4981249812
1. Assert: If we return here, the generator either threw an exception or performed either an implicit or explicit return.
4981349813
1. Remove _acGenContext_ from the execution context stack and restore the execution context that is at the top of the execution context stack as the running execution context.
4981449814
1. Set _acGenerator_.[[GeneratorState]] to ~completed~.

0 commit comments

Comments
 (0)