From b80d09bcf4e63be7726740816f196e9f1f72c9ea Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Sat, 18 Mar 2023 18:22:48 -0400 Subject: [PATCH] Editorial: Mark another step as a Note PR #3026 converted the step: > Once a generator enters the ~completed~ state it never leaves it and its associated execution context is never resumed. Any execution state associated with _acGenerator_ can be discarded at this point. in GeneratorStart into a Note. This commit converts the similar step in GeneratorResumeAbrupt into a Note too. --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index a767de6df6b..aab01322fb1 100644 --- a/spec.html +++ b/spec.html @@ -45528,7 +45528,7 @@

1. Let _state_ be ? GeneratorValidate(_generator_, _generatorBrand_). 1. If _state_ is ~suspendedStart~, then 1. Set _generator_.[[GeneratorState]] to ~completed~. - 1. Once a generator enters the ~completed~ state it never leaves it and its associated execution context is never resumed. Any execution state associated with _generator_ can be discarded at this point. + 1. NOTE: Once a generator enters the ~completed~ state it never leaves it and its associated execution context is never resumed. Any execution state associated with _generator_ can be discarded at this point. 1. Set _state_ to ~completed~. 1. If _state_ is ~completed~, then 1. If _abruptCompletion_.[[Type]] is ~return~, then