Skip to content

Commit d9d189a

Browse files
committed
Remove superfluous ClassBody restriction
1 parent 43c6a82 commit d9d189a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21738,7 +21738,7 @@ <h1>Static Semantics: Early Errors</h1>
2173821738
It is a Syntax Error if the BoundNames of |BindingList| contains any duplicate entries.
2173921739
</li>
2174021740
<li>
21741-
It is a Syntax Error if the goal symbol is |Script| and |UsingDeclaration| is not contained, either directly or indirectly, within a |Block|, |CaseBlock|, |ForStatement|, |ForInOfStatement|, |FunctionBody|, |GeneratorBody|, |AsyncGeneratorBody|, |AsyncFunctionBody|, |ClassStaticBlockBody|, or |ClassBody|.
21741+
It is a Syntax Error if the goal symbol is |Script| and |UsingDeclaration| is not contained, either directly or indirectly, within a |Block|, |CaseBlock|, |ForStatement|, |ForInOfStatement|, |FunctionBody|, |GeneratorBody|, |AsyncGeneratorBody|, |AsyncFunctionBody|, or |ClassStaticBlockBody|.
2174221742
</li>
2174321743
</ul>
2174421744
<emu-grammar>
@@ -21754,7 +21754,7 @@ <h1>Static Semantics: Early Errors</h1>
2175421754
It is a Syntax Error if the BoundNames of |BindingList| contains any duplicate entries.
2175521755
</li>
2175621756
<li>
21757-
It is a Syntax Error if the goal symbol is |Script| and |AwaitUsingDeclaration| is not contained, either directly or indirectly, within a |Block|, |CaseBlock|, |ForStatement|, |ForInOfStatement|, |FunctionBody|, |GeneratorBody|, |AsyncGeneratorBody|, |AsyncFunctionBody|, |ClassStaticBlockBody|, or |ClassBody|.
21757+
It is a Syntax Error if the goal symbol is |Script| and |AwaitUsingDeclaration| is not contained, either directly or indirectly, within a |Block|, |CaseBlock|, |ForStatement|, |ForInOfStatement|, |FunctionBody|, |GeneratorBody|, |AsyncGeneratorBody|, |AsyncFunctionBody|, or |ClassStaticBlockBody|.
2175821758
</li>
2175921759
</ul>
2176021760
<emu-grammar>LexicalBinding : BindingIdentifier Initializer?</emu-grammar>

0 commit comments

Comments
 (0)