From 7de74fab6bf6b159d6c3a916113b403613727211 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Mon, 27 Mar 2023 12:18:52 -0400 Subject: [PATCH] Remove 'await' restriction per March 2023 consensus. See tc39/proposal-explicit-resource-management#153 --- spec.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec.html b/spec.html index 047dd41f4b..433bd5990c 100644 --- a/spec.html +++ b/spec.html @@ -17795,7 +17795,7 @@

Rules of Automatic Semicolon Insertion

LeftHandSideExpression[?Yield, ?Await] [no LineTerminator here] `--` UsingDeclaration[In, Yield, Await] : - `using` [no LineTerminator here] [lookahead != `await`] BindingList[?In, ?Yield, ?Await, ~Pattern] `;` + `using` [no LineTerminator here] BindingList[?In, ?Yield, ?Await, ~Pattern] `;` ContinueStatement[Yield, Await] : `continue` `;` @@ -21295,7 +21295,7 @@

Syntax

`const` UsingDeclaration[In, Yield, Await] : - `using` [no LineTerminator here] [lookahead != `await`] BindingList[?In, ?Yield, ?Await, ~Pattern] `;` + `using` [no LineTerminator here] BindingList[?In, ?Yield, ?Await, ~Pattern] `;` BindingList[In, Yield, Await, Pattern] : LexicalBinding[?In, ?Yield, ?Await, ?Pattern] @@ -21323,7 +21323,7 @@

Static Semantics: Early Errors