mirror of
https://github.com/tc39/test262.git
synced 2025-07-26 15:34:29 +02:00
Merge pull request #1359 from leobalter/class-private-tags
Split class fields tags
This commit is contained in:
commit
3d258fd290
@ -13,7 +13,8 @@ BigInt
|
|||||||
|
|
||||||
# Class Fields
|
# Class Fields
|
||||||
# https://github.com/tc39/proposal-class-fields
|
# https://github.com/tc39/proposal-class-fields
|
||||||
class-fields
|
class-fields-public
|
||||||
|
class-fields-private
|
||||||
|
|
||||||
# Promise.prototype.finally
|
# Promise.prototype.finally
|
||||||
# https://github.com/tc39/proposal-promise-finally
|
# https://github.com/tc39/proposal-promise-finally
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
desc: Syntax error if you call delete on call expressions . privatename
|
desc: Syntax error if you call delete on call expressions . privatename
|
||||||
template: delete-error
|
template: delete-error
|
||||||
|
features: [class, class-fields-private, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- infieldsetup
|
//- infieldsetup
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-evaluation-error-
|
path: language/statements/class/fields-evaluation-error-
|
||||||
name: field definitions in a class declaration
|
name: field definitions in a class declaration
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: sec-runtime-semantics-classdefinitionevaluation
|
esid: sec-runtime-semantics-classdefinitionevaluation
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-evaluation-error-
|
path: language/expressions/class/fields-evaluation-error-
|
||||||
name: field definitions in a class expression
|
name: field definitions in a class expression
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: sec-runtime-semantics-classdefinitionevaluation
|
esid: sec-runtime-semantics-classdefinitionevaluation
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-
|
path: language/statements/class/fields-
|
||||||
name: field definitions in a class declaration
|
name: field definitions in a class declaration
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-
|
path: language/expressions/class/fields-
|
||||||
name: field definitions in a class expression
|
name: field definitions in a class expression
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -11,7 +11,7 @@ info: |
|
|||||||
UnaryExpression : delete UnaryExpression
|
UnaryExpression : delete UnaryExpression
|
||||||
|
|
||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
||||||
features: [class-fields]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
||||||
features: [class-fields]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -11,7 +11,7 @@ info: |
|
|||||||
UnaryExpression : delete UnaryExpression
|
UnaryExpression : delete UnaryExpression
|
||||||
|
|
||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
features: [class-fields]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
||||||
features: [class-fields]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -11,7 +11,7 @@ info: |
|
|||||||
UnaryExpression : delete UnaryExpression
|
UnaryExpression : delete UnaryExpression
|
||||||
|
|
||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
||||||
features: [class-fields]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -13,7 +13,7 @@ info: |
|
|||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
It is a Syntax Error if the derived UnaryExpression is PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and CoverParenthesizedExpressionAndArrowParameterList ultimately derives a phrase that, if used in place of UnaryExpression, would produce a Syntax Error according to these rules. This rule is recursively applied.
|
||||||
features: [class-fields]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -11,7 +11,7 @@ info: |
|
|||||||
UnaryExpression : delete UnaryExpression
|
UnaryExpression : delete UnaryExpression
|
||||||
|
|
||||||
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
It is a Syntax Error if the UnaryExpression is contained in strict mode code and the derived UnaryExpression is PrimaryExpression : IdentifierReference , MemberExpression : MemberExpression.PrivateName , or CallExpression : CallExpression.PrivateName .
|
||||||
features: [class-fields]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -17,7 +17,7 @@ info: |
|
|||||||
1. If the StringValue of Identifier is "arguments", return true.
|
1. If the StringValue of Identifier is "arguments", return true.
|
||||||
...
|
...
|
||||||
For all other grammatical productions, recurse on all nonterminals. If any piece returns true, then return true. Otherwise return false.
|
For all other grammatical productions, recurse on all nonterminals. If any piece returns true, then return true. Otherwise return false.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: initializer-eval-arguments
|
template: initializer-eval-arguments
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ info: |
|
|||||||
ScriptBody:StatementList
|
ScriptBody:StatementList
|
||||||
|
|
||||||
It is a Syntax Error if StatementList Contains NewTarget.
|
It is a Syntax Error if StatementList Contains NewTarget.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: initializer-eval-newtarget
|
template: initializer-eval-newtarget
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ info: |
|
|||||||
ScriptBody:StatementList
|
ScriptBody:StatementList
|
||||||
|
|
||||||
It is a Syntax Error if StatementList Contains SuperCall.
|
It is a Syntax Error if StatementList Contains SuperCall.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: initializer-eval-super-call
|
template: initializer-eval-super-call
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ info: |
|
|||||||
ScriptBody:StatementList
|
ScriptBody:StatementList
|
||||||
|
|
||||||
It is a Syntax Error if StatementList Contains SuperCall.
|
It is a Syntax Error if StatementList Contains SuperCall.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: initializer-eval-super-call
|
template: initializer-eval-super-call
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ info: |
|
|||||||
ScriptBody:StatementList
|
ScriptBody:StatementList
|
||||||
|
|
||||||
It is a Syntax Error if StatementList Contains SuperCall.
|
It is a Syntax Error if StatementList Contains SuperCall.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: initializer-eval-super-call
|
template: initializer-eval-super-call
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ info: |
|
|||||||
ScriptBody:StatementList
|
ScriptBody:StatementList
|
||||||
|
|
||||||
It is a Syntax Error if StatementList Contains SuperProperty.
|
It is a Syntax Error if StatementList Contains SuperProperty.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: initializer-eval-super-property
|
template: initializer-eval-super-property
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ info: |
|
|||||||
ScriptBody:StatementList
|
ScriptBody:StatementList
|
||||||
|
|
||||||
It is a Syntax Error if StatementList Contains SuperProperty.
|
It is a Syntax Error if StatementList Contains SuperProperty.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: initializer-eval-super-property
|
template: initializer-eval-super-property
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ info: |
|
|||||||
1. If the StringValue of Identifier is "arguments", return true.
|
1. If the StringValue of Identifier is "arguments", return true.
|
||||||
...
|
...
|
||||||
For all other grammatical productions, recurse on all nonterminals. If any piece returns true, then return true. Otherwise return false.
|
For all other grammatical productions, recurse on all nonterminals. If any piece returns true, then return true. Otherwise return false.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -10,7 +10,7 @@ info: |
|
|||||||
PropertyNameInitializeropt
|
PropertyNameInitializeropt
|
||||||
|
|
||||||
- It is a Syntax Error if Initializer is present and Initializer Contains SuperCall is true.
|
- It is a Syntax Error if Initializer is present and Initializer Contains SuperCall is true.
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/fields-private-arrow-fnc-
|
path: language/statements/class/fields-private-arrow-fnc-
|
||||||
name: private field, arrow function expression
|
name: private field, arrow function expression
|
||||||
features: [arrow-function]
|
features: [class, arrow-function, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/fields-private-literal-name-
|
path: language/statements/class/fields-private-literal-name-
|
||||||
name: ClassElementName PrivateName
|
name: ClassElementName PrivateName
|
||||||
|
features: [class, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/fields-private-ternary-
|
path: language/statements/class/fields-private-ternary-
|
||||||
name: private field, ternary expression
|
name: private field, ternary expression
|
||||||
|
features: [class, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/fields-private-typeof-
|
path: language/statements/class/fields-private-typeof-
|
||||||
name: private field, typeof expression
|
name: private field, typeof expression
|
||||||
|
features: [class, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/fields-static-private-
|
path: language/statements/class/fields-static-private-
|
||||||
name: static PrivateName
|
name: static PrivateName
|
||||||
|
features: [class, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/fields-private-arrow-fnc-
|
path: language/expressions/class/fields-private-arrow-fnc-
|
||||||
name: private field, arrow function expression
|
name: private field, arrow function expression
|
||||||
features: [arrow-function]
|
features: [class, arrow-function, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/fields-private-literal-name-
|
path: language/expressions/class/fields-private-literal-name-
|
||||||
name: ClassElementName PrivateName
|
name: ClassElementName PrivateName
|
||||||
|
features: [class, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/fields-private-ternary-
|
path: language/expressions/class/fields-private-ternary-
|
||||||
name: private field, ternary expression
|
name: private field, ternary expression
|
||||||
|
features: [class, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/fields-private-typeof-
|
path: language/expressions/class/fields-private-typeof-
|
||||||
name: private field, typeof expression
|
name: private field, typeof expression
|
||||||
|
features: [class, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/fields-static-private-
|
path: language/expressions/class/fields-static-private-
|
||||||
name: static PrivateName
|
name: static PrivateName
|
||||||
|
features: [class, class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
throw "Test262: This statement should not be evaluated.";
|
throw "Test262: This statement should not be evaluated.";
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
desc: Syntax error if you call delete on member expressions . privatename
|
desc: Syntax error if you call delete on member expressions . privatename
|
||||||
template: delete-error
|
template: delete-error
|
||||||
|
features: [class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- expression
|
//- expression
|
||||||
|
@ -17,6 +17,7 @@ info: |
|
|||||||
PrivateName:
|
PrivateName:
|
||||||
#IdentifierName
|
#IdentifierName
|
||||||
template: productions
|
template: productions
|
||||||
|
features: [class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- fields
|
//- fields
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-same-line-async-gen-
|
path: language/statements/class/fields-same-line-async-gen-
|
||||||
name: field definitions after an async generator in the same line
|
name: field definitions after an async generator in the same line
|
||||||
features: [class-fields, async-iteration]
|
features: [class, class-fields-public, async-iteration]
|
||||||
flags: [async]
|
flags: [async]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-same-line-async-method-
|
path: language/statements/class/fields-same-line-async-method-
|
||||||
name: field definitions after an async method in the same line
|
name: field definitions after an async method in the same line
|
||||||
features: [class-fields, async-functions]
|
features: [class, class-fields-public, async-functions]
|
||||||
flags: [async]
|
flags: [async]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-after-same-line-gen-
|
path: language/statements/class/fields-after-same-line-gen-
|
||||||
name: field definitions after a generator in the same line
|
name: field definitions after a generator in the same line
|
||||||
features: [generators, class-fields]
|
features: [generators, class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-after-same-line-method-
|
path: language/statements/class/fields-after-same-line-method-
|
||||||
name: field definitions after a method in the same line
|
name: field definitions after a method in the same line
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-after-same-line-static-async-gen-
|
path: language/statements/class/fields-after-same-line-static-async-gen-
|
||||||
name: field definitions after a static async generator in the same line
|
name: field definitions after a static async generator in the same line
|
||||||
features: [class-fields, async-iteration]
|
features: [class, class-fields-public, async-iteration]
|
||||||
flags: [async]
|
flags: [async]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-after-same-line-static-async-method-
|
path: language/statements/class/fields-after-same-line-static-async-method-
|
||||||
name: field definitions after a static async method in the same line
|
name: field definitions after a static async method in the same line
|
||||||
features: [class-fields, async-functions]
|
features: [class, class-fields-public, async-functions]
|
||||||
flags: [async]
|
flags: [async]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-after-same-line-static-gen-
|
path: language/statements/class/fields-after-same-line-static-gen-
|
||||||
name: field definitions after a static generator in the same line
|
name: field definitions after a static generator in the same line
|
||||||
features: [generators, class-fields]
|
features: [generators, class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-after-same-line-static-method-
|
path: language/statements/class/fields-after-same-line-static-method-
|
||||||
name: field definitions after a static method in the same line
|
name: field definitions after a static method in the same line
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-multiple-definitions-
|
path: language/statements/class/fields-multiple-definitions-
|
||||||
name: multiple fields definitions
|
name: multiple fields definitions
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-multiple-stacked-definitions-
|
path: language/statements/class/fields-multiple-stacked-definitions-
|
||||||
name: multiple stacked fields definitions through ASI
|
name: multiple stacked fields definitions through ASI
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-new-no-sc-line-method-
|
path: language/statements/class/fields-new-no-sc-line-method-
|
||||||
name: field definitions followed by a method in a new line without a semicolon
|
name: field definitions followed by a method in a new line without a semicolon
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-new-sc-line-gen-
|
path: language/statements/class/fields-new-sc-line-gen-
|
||||||
name: field definitions followed by a method in a new line with a semicolon
|
name: field definitions followed by a method in a new line with a semicolon
|
||||||
features: [class-fields, generators]
|
features: [class, class-fields-public, generators]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-new-sc-line-method-
|
path: language/statements/class/fields-new-sc-line-method-
|
||||||
name: field definitions followed by a method in a new line with a semicolon
|
name: field definitions followed by a method in a new line with a semicolon
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-regular-definitions-
|
path: language/statements/class/fields-regular-definitions-
|
||||||
name: regular fields defintion
|
name: regular fields defintion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-same-line-gen-
|
path: language/statements/class/fields-same-line-gen-
|
||||||
name: field definitions followed by a generator method in the same line
|
name: field definitions followed by a generator method in the same line
|
||||||
features: [class-fields, generators]
|
features: [class, class-fields-public, generators]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-same-line-method-
|
path: language/statements/class/fields-same-line-method-
|
||||||
name: field definitions followed by a method in the same line
|
name: field definitions followed by a method in the same line
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/statements/class/fields-wrapped-in-sc-
|
path: language/statements/class/fields-wrapped-in-sc-
|
||||||
name: fields definition wrapped in semicolons
|
name: fields definition wrapped in semicolons
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-same-line-async-gen-
|
path: language/expressions/class/fields-same-line-async-gen-
|
||||||
name: field definitions after an async generator in the same line
|
name: field definitions after an async generator in the same line
|
||||||
features: [class-fields, async-iteration]
|
features: [class, class-fields-public, async-iteration]
|
||||||
flags: [async]
|
flags: [async]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-same-line-async-method-
|
path: language/expressions/class/fields-same-line-async-method-
|
||||||
name: field definitions after an async method in the same line
|
name: field definitions after an async method in the same line
|
||||||
features: [class-fields, async-functions]
|
features: [class, class-fields-public, async-functions]
|
||||||
flags: [async]
|
flags: [async]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-after-same-line-gen-
|
path: language/expressions/class/fields-after-same-line-gen-
|
||||||
name: field definitions after a generator in the same line
|
name: field definitions after a generator in the same line
|
||||||
features: [generators, class-fields]
|
features: [generators, class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-after-same-line-method-
|
path: language/expressions/class/fields-after-same-line-method-
|
||||||
name: field definitions after a method in the same line
|
name: field definitions after a method in the same line
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-after-same-line-static-async-gen-
|
path: language/expressions/class/fields-after-same-line-static-async-gen-
|
||||||
name: field definitions after a static async generator in the same line
|
name: field definitions after a static async generator in the same line
|
||||||
features: [class-fields, async-iteration]
|
features: [class, class-fields-public, async-iteration]
|
||||||
flags: [async]
|
flags: [async]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-after-same-line-static-async-method-
|
path: language/expressions/class/fields-after-same-line-static-async-method-
|
||||||
name: field definitions after a static async method in the same line
|
name: field definitions after a static async method in the same line
|
||||||
features: [class-fields, async-functions]
|
features: [class, class-fields-public, async-functions]
|
||||||
flags: [async]
|
flags: [async]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-after-same-line-static-gen-
|
path: language/expressions/class/fields-after-same-line-static-gen-
|
||||||
name: field definitions after a static generator in the same line
|
name: field definitions after a static generator in the same line
|
||||||
features: [generators, class-fields]
|
features: [generators, class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-after-same-line-static-method-
|
path: language/expressions/class/fields-after-same-line-static-method-
|
||||||
name: field definitions after a static method in the same line
|
name: field definitions after a static method in the same line
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-multiple-definitions-
|
path: language/expressions/class/fields-multiple-definitions-
|
||||||
name: multiple fields definitions
|
name: multiple fields definitions
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-multiple-stacked-definitions-
|
path: language/expressions/class/fields-multiple-stacked-definitions-
|
||||||
name: multiple stacked fields definitions through ASI
|
name: multiple stacked fields definitions through ASI
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-new-no-sc-line-method-
|
path: language/expressions/class/fields-new-no-sc-line-method-
|
||||||
name: field definitions followed by a method in a new line without a semicolon
|
name: field definitions followed by a method in a new line without a semicolon
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-new-sc-line-gen-
|
path: language/expressions/class/fields-new-sc-line-gen-
|
||||||
name: field definitions followed by a method in a new line with a semicolon
|
name: field definitions followed by a method in a new line with a semicolon
|
||||||
features: [class-fields, generators]
|
features: [class, class-fields-public, generators]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-new-sc-line-method-
|
path: language/expressions/class/fields-new-sc-line-method-
|
||||||
name: field definitions followed by a method in a new line with a semicolon
|
name: field definitions followed by a method in a new line with a semicolon
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-regular-definitions-
|
path: language/expressions/class/fields-regular-definitions-
|
||||||
name: regular fields defintion
|
name: regular fields defintion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-same-line-gen-
|
path: language/expressions/class/fields-same-line-gen-
|
||||||
name: field definitions followed by a generator method in the same line
|
name: field definitions followed by a generator method in the same line
|
||||||
features: [class-fields, generators]
|
features: [class, class-fields-public, generators]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-same-line-method-
|
path: language/expressions/class/fields-same-line-method-
|
||||||
name: field definitions followed by a method in the same line
|
name: field definitions followed by a method in the same line
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
path: language/expressions/class/fields-wrapped-in-sc-
|
path: language/expressions/class/fields-wrapped-in-sc-
|
||||||
name: fields definition wrapped in semicolons
|
name: fields definition wrapped in semicolons
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ info: |
|
|||||||
|
|
||||||
ClassElement : FieldDefinition;
|
ClassElement : FieldDefinition;
|
||||||
It is a Syntax Error if PropName of FieldDefinition is "constructor".
|
It is a Syntax Error if PropName of FieldDefinition is "constructor".
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: propname-error
|
template: propname-error
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ info: |
|
|||||||
PrivateName:
|
PrivateName:
|
||||||
#IdentifierName
|
#IdentifierName
|
||||||
template: productions
|
template: productions
|
||||||
|
features: [class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- fields
|
//- fields
|
||||||
|
@ -10,7 +10,7 @@ info: |
|
|||||||
|
|
||||||
ClassElement : staticFieldDefinition;
|
ClassElement : staticFieldDefinition;
|
||||||
It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
|
It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: propname-error-static
|
template: propname-error-static
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ info: |
|
|||||||
|
|
||||||
ClassElement : staticFieldDefinition;
|
ClassElement : staticFieldDefinition;
|
||||||
It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
|
It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
template: propname-error-static
|
template: propname-error-static
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on call expressions . privatename (in field)
|
description: Syntax error if you call delete on call expressions . privatename (in field)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on call expressions . privatename (in field, covered)
|
description: Syntax error if you call delete on call expressions . privatename (in field, covered)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on member expressions . privatename (in field, covered)
|
description: Syntax error if you call delete on member expressions . privatename (in field, covered)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class-fields-private, class]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on member expressions . privatename (in field)
|
description: Syntax error if you call delete on member expressions . privatename (in field)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class-fields-private, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on call expressions . privatename (in field, recursively covered)
|
description: Syntax error if you call delete on call expressions . privatename (in field, recursively covered)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on member expressions . privatename (in field, recursively covered)
|
description: Syntax error if you call delete on member expressions . privatename (in field, recursively covered)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class-fields-private, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on call expressions . privatename (in method)
|
description: Syntax error if you call delete on call expressions . privatename (in method)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on call expressions . privatename (in method, covered)
|
description: Syntax error if you call delete on call expressions . privatename (in method, covered)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on member expressions . privatename (in method, covered)
|
description: Syntax error if you call delete on member expressions . privatename (in method, covered)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class-fields-private, class]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on member expressions . privatename (in method)
|
description: Syntax error if you call delete on member expressions . privatename (in method)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class-fields-private, class]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on call expressions . privatename (in method, recursively covered)
|
description: Syntax error if you call delete on call expressions . privatename (in method, recursively covered)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Syntax error if you call delete on member expressions . privatename (in method, recursively covered)
|
description: Syntax error if you call delete on member expressions . privatename (in method, recursively covered)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class-fields-private, class]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Computed property names (field definitions after a generator in the same line)
|
description: Computed property names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [computed-property-names, generators, class-fields]
|
features: [computed-property-names, generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Computed property symbol names (field definitions after a generator in the same line)
|
description: Computed property symbol names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [Symbol, computed-property-names, generators, class-fields]
|
features: [Symbol, computed-property-names, generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Literal property names (field definitions after a generator in the same line)
|
description: Literal property names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [generators, class-fields]
|
features: [generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: static literal private names (field definitions after a generator in the same line)
|
description: static literal private names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [generators, class-fields]
|
features: [class-fields-private, generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Static Computed property names (field definitions after a generator in the same line)
|
description: Static Computed property names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [computed-property-names, generators, class-fields]
|
features: [computed-property-names, generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Static computed property symbol names (field definitions after a generator in the same line)
|
description: Static computed property symbol names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [Symbol, computed-property-names, generators, class-fields]
|
features: [Symbol, computed-property-names, generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Static literal property names (field definitions after a generator in the same line)
|
description: Static literal property names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [generators, class-fields]
|
features: [generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: literal private names (field definitions after a generator in the same line)
|
description: literal private names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [generators, class-fields]
|
features: [class-fields-private, generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: String literal names (field definitions after a generator in the same line)
|
description: String literal names (field definitions after a generator in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [generators, class-fields]
|
features: [generators, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Computed property names (field definitions after a method in the same line)
|
description: Computed property names (field definitions after a method in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [computed-property-names, class-fields]
|
features: [computed-property-names, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: Computed property symbol names (field definitions after a method in the same line)
|
description: Computed property symbol names (field definitions after a method in the same line)
|
||||||
esid: prod-FieldDefinition
|
esid: prod-FieldDefinition
|
||||||
features: [Symbol, computed-property-names, class-fields]
|
features: [Symbol, computed-property-names, class, class-fields-public]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
includes: [propertyHelper.js]
|
includes: [propertyHelper.js]
|
||||||
info: |
|
info: |
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user