mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
6ad75adb0e
commit
3d7ae07295
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use of yield as a valid identifier in a function body inside a generator body in non strict mode (Async generator named expression - valid for non-strict only cases)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration]
|
||||
flags: [generated, noStrict, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -11,6 +12,7 @@ info: |
|
|||
AsyncGeneratorExpression :
|
||||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Mixed use of object spread and yield as a valid identifier in a function body inside a generator body in non strict mode (Async generator named expression - valid for non-strict only cases)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, noStrict, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -13,6 +13,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the AssignmentExpression is a function body with yield as an identifier in strict mode. (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -16,6 +16,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the generator body has another function body with yield as an identifier in strict mode. (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -14,6 +15,7 @@ info: |
|
|||
AsyncGeneratorExpression :
|
||||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -13,6 +14,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -12,6 +13,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a object spread position (Named async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -14,6 +14,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use of yield as a valid identifier in a function body inside a generator body in non strict mode (Async generator expression - valid for non-strict only cases)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration]
|
||||
flags: [generated, noStrict, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -11,6 +12,7 @@ info: |
|
|||
AsyncGeneratorExpression :
|
||||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Mixed use of object spread and yield as a valid identifier in a function body inside a generator body in non strict mode (Async generator expression - valid for non-strict only cases)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, noStrict, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -13,6 +13,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the AssignmentExpression is a function body with yield as an identifier in strict mode. (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -16,6 +16,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the generator body has another function body with yield as an identifier in strict mode. (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -14,6 +15,7 @@ info: |
|
|||
AsyncGeneratorExpression :
|
||||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -13,6 +14,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -12,6 +13,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a object spread position (Unnamed async generator expression)
|
||||
esid: prod-AsyncGeneratorExpression
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -14,6 +14,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the AssignmentExpression is a function body with yield as an identifier in strict mode. (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -21,6 +21,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the generator body has another function body with yield as an identifier in strict mode. (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -19,6 +20,7 @@ info: |
|
|||
|
||||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -18,6 +19,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
@ -17,6 +18,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a object spread position (Static async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -19,6 +19,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the AssignmentExpression is a function body with yield as an identifier in strict mode. (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -21,6 +21,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the generator body has another function body with yield as an identifier in strict mode. (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -19,6 +20,7 @@ info: |
|
|||
|
||||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -18,6 +19,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
@ -17,6 +18,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a object spread position (Async generator method as a ClassExpression element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -19,6 +19,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,12 +4,14 @@
|
|||
/*---
|
||||
description: Use of yield as a valid identifier in a function body inside a generator body in non strict mode (Generator method - valid for non-strict only cases)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, noStrict, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
||||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Mixed use of object spread and yield as a valid identifier in a function body inside a generator body in non strict mode (Generator method - valid for non-strict only cases)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, noStrict, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -12,6 +12,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the AssignmentExpression is a function body with yield as an identifier in strict mode. (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -15,6 +15,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the generator body has another function body with yield as an identifier in strict mode. (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -13,6 +14,7 @@ info: |
|
|||
|
||||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
var callCount = 0;
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -12,6 +13,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -11,6 +12,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a object spread position (Async generator method)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -13,6 +13,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use of yield as a valid identifier in a function body inside a generator body in non strict mode (Async generator function declaration - valid for non-strict only cases)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration]
|
||||
flags: [generated, noStrict, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -11,6 +12,7 @@ info: |
|
|||
AsyncGeneratorDeclaration:
|
||||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Mixed use of object spread and yield as a valid identifier in a function body inside a generator body in non strict mode (Async generator function declaration - valid for non-strict only cases)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, noStrict, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -13,6 +13,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the AssignmentExpression is a function body with yield as an identifier in strict mode. (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -16,6 +16,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the generator body has another function body with yield as an identifier in strict mode. (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -14,6 +15,7 @@ info: |
|
|||
AsyncGeneratorDeclaration:
|
||||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -13,6 +14,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
Async Generator Function Definitions
|
||||
|
@ -12,6 +13,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a object spread position (Async generator Function declaration)
|
||||
esid: prod-AsyncGeneratorDeclaration
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -14,6 +14,7 @@ info: |
|
|||
async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
|
||||
AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the AssignmentExpression is a function body with yield as an identifier in strict mode. (Static async generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -21,6 +21,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the generator body has another function body with yield as an identifier in strict mode. (Static async generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -19,6 +20,7 @@ info: |
|
|||
|
||||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Static async generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -18,6 +19,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Static async generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
@ -17,6 +18,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a object spread position (Static async generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -19,6 +19,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the AssignmentExpression is a function body with yield as an identifier in strict mode. (Async Generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -21,6 +21,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: It's an early error if the generator body has another function body with yield as an identifier in strict mode. (Async Generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
|
@ -19,6 +20,7 @@ info: |
|
|||
|
||||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Async Generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -18,6 +19,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a array spread position (Async Generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [async-iteration]
|
||||
flags: [generated, async]
|
||||
info: |
|
||||
ClassElement :
|
||||
|
@ -17,6 +18,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Array Initializer
|
||||
|
||||
SpreadElement[Yield, Await]:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/*---
|
||||
description: Use yield value in a object spread position (Async Generator method as a ClassDeclaration element)
|
||||
esid: prod-AsyncGeneratorMethod
|
||||
features: [object-spread]
|
||||
features: [object-spread, async-iteration]
|
||||
flags: [generated, async]
|
||||
includes: [compareArray.js]
|
||||
info: |
|
||||
|
@ -19,6 +19,7 @@ info: |
|
|||
AsyncGeneratorMethod :
|
||||
async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
|
||||
|
||||
|
||||
Spread Properties
|
||||
|
||||
PropertyDefinition[Yield]:
|
||||
|
|
Loading…
Reference in New Issue