mirror of https://github.com/tc39/test262.git
Add async-functions feature to more files (#1830)
This commit is contained in:
parent
754fe94c5d
commit
140d922d4c
|
@ -26,6 +26,7 @@ info: |
|
|||
AsyncArrowHead :
|
||||
async ArrowFormalParameters
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
AsyncFunctionDeclaration :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
AsyncFunctionExpression :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
AsyncFunctionExpression :
|
||||
async function ( FormalParameters ) { AsyncFunctionBody }
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
AsyncMethod :
|
||||
async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -35,6 +35,7 @@ info: |
|
|||
scope, strict).
|
||||
[...]
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -35,6 +35,7 @@ info: |
|
|||
scope, strict).
|
||||
[...]
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -35,6 +35,7 @@ info: |
|
|||
scope, strict).
|
||||
[...]
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -35,6 +35,7 @@ info: |
|
|||
scope, strict).
|
||||
[...]
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -26,6 +26,7 @@ info: |
|
|||
AsyncArrowHead :
|
||||
async ArrowFormalParameters
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
AsyncFunctionDeclaration :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
AsyncFunctionExpression :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
AsyncFunctionExpression :
|
||||
async function ( FormalParameters ) { AsyncFunctionBody }
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -11,6 +11,7 @@ info: |
|
|||
AsyncMethod :
|
||||
async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -35,6 +35,7 @@ info: |
|
|||
scope, strict).
|
||||
[...]
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -35,6 +35,7 @@ info: |
|
|||
scope, strict).
|
||||
[...]
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -36,6 +36,7 @@ info: |
|
|||
scope, strict).
|
||||
[...]
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -36,6 +36,7 @@ info: |
|
|||
scope, strict).
|
||||
[...]
|
||||
flags: [async]
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -10,6 +10,7 @@ info: |
|
|||
|
||||
AsyncFunctionDeclaration :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
async function f(/*{ params }*/) {
|
||||
|
|
|
@ -10,7 +10,7 @@ info: |
|
|||
|
||||
AsyncFunctionExpression :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
(async function f(/*{ params }*/) {
|
||||
|
|
|
@ -10,6 +10,7 @@ info: |
|
|||
|
||||
AsyncFunctionExpression :
|
||||
async function ( FormalParameters ) { AsyncFunctionBody }
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
||||
(async function(/*{ params }*/) {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Abrupt completion returned by evaluation of initializer (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is not `undefined` (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is `undefined` (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs later in the ParameterList (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs earlier in the ParameterList (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter from within its own initializer (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using default parameters (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using multiple parameters (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using a single parameter (async arrow function expression)
|
||||
esid: sec-async-arrow-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.7 Async Arrow Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Abrupt completion returned by evaluation of initializer (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is not `undefined` (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is `undefined` (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It is a Syntax Error if BoundNames of FormalParameters contains any duplicate elements. (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs later in the ParameterList (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs earlier in the ParameterList (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter from within its own initializer (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: RestParameter does not support an initializer (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using default parameters (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using multiple parameters (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using a single parameter (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's a syntax error if a FunctionRestParameter is followed by a trailing comma (async function named expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Abrupt completion returned by evaluation of initializer (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is not `undefined` (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is `undefined` (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It is a Syntax Error if BoundNames of FormalParameters contains any duplicate elements. (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -15,6 +15,7 @@ info: |
|
|||
AsyncFunctionExpression :
|
||||
async function ( FormalParameters ) { AsyncFunctionBody }
|
||||
|
||||
|
||||
14.1.2 Static Semantics: Early Errors
|
||||
|
||||
StrictFormalParameters : FormalParameters
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs later in the ParameterList (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs earlier in the ParameterList (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter from within its own initializer (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: RestParameter does not support an initializer (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -15,6 +15,7 @@ info: |
|
|||
AsyncFunctionExpression :
|
||||
async function ( FormalParameters ) { AsyncFunctionBody }
|
||||
|
||||
|
||||
14.1 Function Definitions
|
||||
|
||||
Syntax
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using default parameters (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using multiple parameters (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using a single parameter (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's a syntax error if a FunctionRestParameter is followed by a trailing comma (async function nameless expression)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -14,6 +15,7 @@ info: |
|
|||
AsyncFunctionExpression :
|
||||
async function ( FormalParameters ) { AsyncFunctionBody }
|
||||
|
||||
|
||||
Trailing comma in the parameters list
|
||||
|
||||
14.1 Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Abrupt completion returned by evaluation of initializer (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is not `undefined` (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is `undefined` (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs later in the ParameterList (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs earlier in the ParameterList (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter from within its own initializer (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using default parameters (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using multiple parameters (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using a single parameter (class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Abrupt completion returned by evaluation of initializer (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is not `undefined` (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is `undefined` (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs later in the ParameterList (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs earlier in the ParameterList (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter from within its own initializer (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using default parameters (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using multiple parameters (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using a single parameter (static class expression async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassExpression : class BindingIdentifieropt ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Abrupt completion returned by evaluation of initializer (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is not `undefined` (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is `undefined` (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs later in the ParameterList (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs earlier in the ParameterList (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter from within its own initializer (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using default parameters (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using multiple parameters (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using a single parameter (async method)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Abrupt completion returned by evaluation of initializer (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is not `undefined` (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is `undefined` (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It is a Syntax Error if BoundNames of FormalParameters contains any duplicate elements. (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -15,6 +15,7 @@ info: |
|
|||
AsyncFunctionDeclaration :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
|
||||
|
||||
14.1.2 Static Semantics: Early Errors
|
||||
|
||||
StrictFormalParameters : FormalParameters
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs later in the ParameterList (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs earlier in the ParameterList (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter from within its own initializer (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: RestParameter does not support an initializer (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -15,6 +15,7 @@ info: |
|
|||
AsyncFunctionDeclaration :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
|
||||
|
||||
14.1 Function Definitions
|
||||
|
||||
Syntax
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using default parameters (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using multiple parameters (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using a single parameter (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
14.6 Async Function Definitions
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's a syntax error if a FunctionRestParameter is followed by a trailing comma (async function declaration)
|
||||
esid: sec-async-function-definitions
|
||||
features: [async-functions]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -14,6 +15,7 @@ info: |
|
|||
AsyncFunctionDeclaration :
|
||||
async function BindingIdentifier ( FormalParameters ) { AsyncFunctionBody }
|
||||
|
||||
|
||||
Trailing comma in the parameters list
|
||||
|
||||
14.1 Function Definitions
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Abrupt completion returned by evaluation of initializer (class declaration async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassDeclaration : class BindingIdentifier ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is not `undefined` (class declaration async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassDeclaration : class BindingIdentifier ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use of initializer when argument value is `undefined` (class declaration async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassDeclaration : class BindingIdentifier ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs later in the ParameterList (class declaration async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassDeclaration : class BindingIdentifier ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter that occurs earlier in the ParameterList (class declaration async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassDeclaration : class BindingIdentifier ClassTail
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Referencing a parameter from within its own initializer (class declaration async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [default-parameters]
|
||||
features: [default-parameters, async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassDeclaration : class BindingIdentifier ClassTail
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: A trailing comma should not increase the respective length, using default parameters (class declaration async method)
|
||||
esid: sec-class-definitions-runtime-semantics-evaluation
|
||||
features: [async-functions]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassDeclaration : class BindingIdentifier ClassTail
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue