Skip to content

Commit

Permalink
Remove superfluous ClassBody restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed May 23, 2024
1 parent eafa377 commit 4914a91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -21711,7 +21711,7 @@ <h1>Static Semantics: Early Errors</h1>
It is a Syntax Error if the BoundNames of |BindingList| contains any duplicate entries.
</li>
<li>
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|.
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|.
</li>
</ul>
<emu-grammar>
Expand All @@ -21727,7 +21727,7 @@ <h1>Static Semantics: Early Errors</h1>
It is a Syntax Error if the BoundNames of |BindingList| contains any duplicate entries.
</li>
<li>
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|.
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|.
</li>
</ul>
<emu-grammar>LexicalBinding : BindingIdentifier Initializer?</emu-grammar>
Expand Down

0 comments on commit 4914a91

Please sign in to comment.