From 48bbc49d27c18bc709861d7cee8202b15a88650a Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Fri, 22 Mar 2024 14:27:09 -0400 Subject: [PATCH] Remove superfluous ClassBody restriction --- spec.emu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.emu b/spec.emu index e2bf4a5..375f2ba 100644 --- a/spec.emu +++ b/spec.emu @@ -2659,7 +2659,7 @@ contributors: Ron Buckton, Ecma International It is a Syntax Error if the BoundNames of |BindingList| contains any duplicate entries.
  • - 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|.
  • @@ -2675,7 +2675,7 @@ contributors: Ron Buckton, Ecma International It is a Syntax Error if the BoundNames of |BindingList| contains any duplicate entries.
  • - 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|.