Fix: esid sec-generator-function-definitions

This commit is contained in:
Rick Waldron 2018-01-10 16:04:16 -05:00
parent 3be781c92d
commit 670560f16b
8 changed files with 8 additions and 16 deletions

View File

@ -3,8 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 14.4
description: >
esid: sec-generator-function-definitionsdescription: >
A newline may not precede the `*` token in a `yield` expression.
negative:
phase: parse

View File

@ -3,8 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 14.4
description: >
esid: sec-generator-function-definitionsdescription: >
AwaitExpressions are valid operands to yield expressions.
flags: [async]
features: [async-iteration]

View File

@ -3,8 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 14.4
description: >
esid: sec-generator-function-definitionsdescription: >
AwaitExpressions are valid operands to yield expressions.
flags: [async]
features: [async-iteration]

View File

@ -3,8 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 14.4
description: >
esid: sec-generator-function-definitionsdescription: >
AwaitExpressions are valid operands to yield expressions.
flags: [async]
features: [async-iteration]

View File

@ -3,8 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 14.4
description: >
esid: sec-generator-function-definitionsdescription: >
`yield` expressions may be used as the right-hand-side of other `yield`
expressions.
flags: [async]

View File

@ -3,8 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 14.4
description: >
esid: sec-generator-function-definitionsdescription: >
`yield` is a valid statement within async generator function bodies.
flags: [async]
features: [async-iteration]

View File

@ -3,8 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 14.4
description: >
esid: sec-generator-function-definitionsdescription: >
Newlines terminate `yield` expressions.
flags: [async]
features: [async-iteration]

View File

@ -3,8 +3,7 @@
/*---
author: Caitlin Potter <caitp@igalia.com>
esid: 14.4
description: >
esid: sec-generator-function-definitionsdescription: >
The right-hand side of a `yield *` expression may appear on a new line.
flags: [async]
features: [async-iteration]