Skip to content
Snippets Groups Projects
Unverified Commit 3d7ae072 authored by Leo Balter's avatar Leo Balter
Browse files

Generate tests

parent 6ad75adb
No related branches found
No related tags found
No related merge requests found
Showing
with 40 additions and 9 deletions
......@@ -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]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment