mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 06:55:06 +02:00
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
|
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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -17,6 +17,7 @@ info: |
|
|||||||
PrivateName:
|
PrivateName:
|
||||||
#IdentifierName
|
#IdentifierName
|
||||||
template: productions
|
template: productions
|
||||||
|
features: [class-fields-private]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
//- fields
|
//- fields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user