mirror of https://github.com/tc39/test262.git
Add class-fields-private tags for matches using #
This commit is contained in:
parent
77c70a514d
commit
358f03f824
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
desc: Syntax error if you call delete on call expressions . privatename
|
||||
template: delete-error
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
---*/
|
||||
|
||||
//- infieldsetup
|
||||
|
|
|
@ -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 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:
|
||||
type: SyntaxError
|
||||
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 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:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
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 .
|
||||
features: [class-fields]
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
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 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:
|
||||
type: SyntaxError
|
||||
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 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:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
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 .
|
||||
features: [class-fields]
|
||||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
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 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:
|
||||
type: SyntaxError
|
||||
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 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:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
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 .
|
||||
features: [class-fields]
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
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 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:
|
||||
type: SyntaxError
|
||||
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 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:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
|
|
|
@ -11,7 +11,7 @@ info: |
|
|||
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 .
|
||||
features: [class-fields]
|
||||
features: [class, class-fields-private]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
phase: early
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/statements/class/fields-private-arrow-fnc-
|
||||
name: private field, arrow function expression
|
||||
features: [arrow-function]
|
||||
features: [class, arrow-function, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/statements/class/fields-private-literal-name-
|
||||
name: ClassElementName PrivateName
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/statements/class/fields-private-ternary-
|
||||
name: private field, ternary expression
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/statements/class/fields-private-typeof-
|
||||
name: private field, typeof expression
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/statements/class/fields-static-private-
|
||||
name: static PrivateName
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/expressions/class/fields-private-arrow-fnc-
|
||||
name: private field, arrow function expression
|
||||
features: [arrow-function]
|
||||
features: [class, arrow-function, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/expressions/class/fields-private-literal-name-
|
||||
name: ClassElementName PrivateName
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/expressions/class/fields-private-ternary-
|
||||
name: private field, ternary expression
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/expressions/class/fields-private-typeof-
|
||||
name: private field, typeof expression
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/expressions/class/fields-static-private-
|
||||
name: static PrivateName
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
/*---
|
||||
desc: Syntax error if you call delete on member expressions . privatename
|
||||
template: delete-error
|
||||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- expression
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
PrivateName:
|
||||
#IdentifierName
|
||||
template: productions
|
||||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
|
|
|
@ -17,6 +17,7 @@ info: |
|
|||
PrivateName:
|
||||
#IdentifierName
|
||||
template: productions
|
||||
features: [class-fields-private]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
|
|
Loading…
Reference in New Issue