mirror of https://github.com/tc39/test262.git
Rename negative test "phase" for parsing
Early errors may result from parsing the source text of a test file, but they may also result from parsing some other source text as referenced through the ES2015 module syntax. The latter form of early error is not necessarily detectable by ECMAScript parsers, however. Because of this, the label "early" is not sufficiently precise for all Test262 consumers to correctly interpret all tests. Update the "phase" name of "early" to "parse" for all those negative tests that describe errors resulting from parsing of the file's source text directly. A forthcoming commit will update the remaining tests to use a "phase" name that is more specific to module resolution.
This commit is contained in:
parent
66df349af3
commit
136110378b
|
@ -103,14 +103,14 @@ single line comment syntax.
|
|||
This means the test is expected to throw an error of the given type. If no error is thrown, a test failure is reported.
|
||||
|
||||
- **type**- If an error is thrown, it is implicitly converted to a string. In order for the test to pass, this value must match the name of the error constructor.
|
||||
- **phase** - Negative tests whose **phase** value is "early" must produce the specified error prior to executing code. The value "runtime" dictates that the error is expected to be produced as a result of executing the test code.
|
||||
- **phase** - Negative tests whose **phase** value is "parse" must produce the specified error prior to executing code. The value "runtime" dictates that the error is expected to be produced as a result of executing the test code.
|
||||
|
||||
For best practices on how to use the negative tag please see [Handling Errors and Negative Test Cases](#handling-errors-and-negative-test-cases), below.
|
||||
|
||||
For example:
|
||||
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: ReferenceError
|
||||
|
||||
#### esid
|
||||
|
@ -210,7 +210,7 @@ Expectations for **parsing errors** should be declared using [the `negative` fro
|
|||
```javascript
|
||||
/*---
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -161,8 +161,9 @@ These tests are expected to generate an uncaught exception. The value of this
|
|||
attribute is a YAML dictonary with two keys:
|
||||
|
||||
- `phase` - the stage of the test interpretation process that the error is
|
||||
expected to be produced; either "early" (meaning, "prior to evaluation") or
|
||||
"runtime" (meaning, "during evaluation")
|
||||
expected to be produced; either "parse" (meaning, "while parsing the source
|
||||
text"), "early" (meaning, "prior to evaluation") or "runtime" (meaning,
|
||||
"during evaluation")
|
||||
- `type` - the name of the constructor of the expected error
|
||||
|
||||
If a test configured with the `negative` attribute completes without throwing
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Await] parameter and
|
||||
StringValue of Identifier is "await".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Yield] parameter and
|
||||
StringValue of Identifier is "yield".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Yield] parameter and
|
||||
StringValue of Identifier is "yield".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Yield] parameter and
|
||||
StringValue of Identifier is "yield".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Yield] parameter and
|
||||
StringValue of Identifier is "yield".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Yield] parameter and
|
||||
StringValue of Identifier is "yield".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -12,7 +12,7 @@ info: |
|
|||
It is a Syntax Error if this production has a [Yield] parameter and
|
||||
StringValue of Identifier is "yield".
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
template: syntax
|
||||
---*/
|
||||
|
|
|
@ -15,7 +15,7 @@ info: |
|
|||
features: [object-spread]
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ desc: >
|
|||
template: default
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
features: [class, class-fields-private, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
features: [class, class-fields-private, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -14,7 +14,7 @@ info: |
|
|||
features: [class, class-fields-private, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -14,7 +14,7 @@ info: |
|
|||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
features: [class, class-fields-private, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -14,7 +14,7 @@ info: |
|
|||
features: [class, class-fields-private, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -16,7 +16,7 @@ info: |
|
|||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -14,7 +14,7 @@ info: |
|
|||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -20,7 +20,7 @@ info: |
|
|||
features: [class, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
template: initializer-error
|
||||
---*/
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ info: |
|
|||
features: [class, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
template: initializer-error
|
||||
---*/
|
||||
|
||||
|
|
|
@ -2,11 +2,16 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
path: language/statements/class/fields-prop-name-
|
||||
name: early error -- static ClassElementName
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/statements/class/fields-literal-name-
|
||||
name: early error -- PropName of IdentifierName is forbidden value
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
info: |
|
||||
Static Semantics: PropName
|
||||
LiteralPropertyName : IdentifierName
|
||||
Return StringValue of IdentifierName.
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -2,11 +2,16 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
path: language/expressions/class/fields-prop-name-
|
||||
name: early error -- static ClassElementName
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/expressions/class/fields-literal-name-
|
||||
name: early error -- PropName of IdentifierName is forbidden
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
info: |
|
||||
Static Semantics: PropName
|
||||
LiteralPropertyName : IdentifierName
|
||||
Return StringValue of IdentifierName.
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -7,7 +7,7 @@ path: language/statements/class/fields-literal-name-
|
|||
name: early error -- PropName of IdentifierName is forbidden value
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
info: |
|
||||
Static Semantics: PropName
|
||||
LiteralPropertyName : IdentifierName
|
||||
|
|
|
@ -7,7 +7,7 @@ path: language/statements/class/fields-string-name-
|
|||
name: early error -- PropName of StringLiteral is forbidden value
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
info: |
|
||||
Static Semantics: PropName
|
||||
...
|
||||
|
|
|
@ -7,7 +7,7 @@ path: language/expressions/class/fields-literal-name-
|
|||
name: early error -- PropName of IdentifierName is forbidden
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
info: |
|
||||
Static Semantics: PropName
|
||||
LiteralPropertyName : IdentifierName
|
||||
|
|
|
@ -7,7 +7,7 @@ path: language/expressions/class/fields-string-name-
|
|||
name: early error -- PropName of StringLiteral is forbidden
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
phase: parse
|
||||
info: |
|
||||
Static Semantics: PropName
|
||||
...
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-iteration]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
flags: [onlyStrict]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [generators]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-iteration]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
flags: [onlyStrict]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [generators]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-iteration]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [generators]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-iteration]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [generators]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-iteration]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [generators]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of StatementList contains
|
||||
any duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
StatementList also occurs in the VarDeclaredNames of StatementList.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-functions]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [async-iteration]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
features: [generators]
|
||||
---*/
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if the LexicallyDeclaredNames of CaseBlock contains any
|
||||
duplicate entries.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
It is a Syntax Error if any element of the LexicallyDeclaredNames of
|
||||
CaseBlock also occurs in the VarDeclaredNames of CaseBlock.
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ template: error-async-function-syntax
|
|||
es6id: 12.14.5.4
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ desc: >
|
|||
template: error-async-function-syntax
|
||||
es6id: 12.14.5.1
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ template: error-async-function-syntax
|
|||
es6id: 12.14.5.3
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ desc: >
|
|||
template: error-async-function-syntax
|
||||
es6id: 12.14.5.1
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ template: error-async-function-syntax
|
|||
es6id: 12.14.5.3
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ template: error-async-function-syntax
|
|||
es6id: 12.14.5.1
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ template: error-async-function-syntax
|
|||
es6id: 12.14.5.4
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ template: syntax
|
|||
es6id: 12.14.5.4
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ desc: >
|
|||
template: syntax
|
||||
es6id: 12.14.5.1
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ template: syntax
|
|||
es6id: 12.14.5.3
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ desc: >
|
|||
template: syntax
|
||||
es6id: 12.14.5.1
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ template: syntax
|
|||
es6id: 12.14.5.3
|
||||
flags: [onlyStrict]
|
||||
negative:
|
||||
phase: early
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
---*/
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue