mirror of https://github.com/tc39/test262.git
Rename targets in templates for class elements
Also remove the onlyStrict restriction as the class body is always on strict mode and the failures are still valid
This commit is contained in:
parent
5804ae959b
commit
b2dba73312
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/err-field-delete-covered-
|
path: language/statements/class/syntax/early-errors/delete/field-delete-covered-
|
||||||
name: in field, covered
|
name: in field, covered
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -21,8 +21,6 @@ info: |
|
||||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||||
phrase that, if used in place of UnaryExpression, would produce a
|
phrase that, if used in place of UnaryExpression, would produce a
|
||||||
Syntax Error according to these rules. This rule is recursively applied.
|
Syntax Error according to these rules. This rule is recursively applied.
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private, class-fields-public]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/err-field-delete-twice-covered-
|
path: language/statements/class/syntax/early-errors/delete/field-delete-twice-covered-
|
||||||
name: in field, recursively covered
|
name: in field, recursively covered
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -21,8 +21,6 @@ info: |
|
||||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||||
phrase that, if used in place of UnaryExpression, would produce a
|
phrase that, if used in place of UnaryExpression, would produce a
|
||||||
Syntax Error according to these rules. This rule is recursively applied.
|
Syntax Error according to these rules. This rule is recursively applied.
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private, class-fields-public]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/err-field-delete-
|
path: language/statements/class/syntax/early-errors/delete/field-delete-
|
||||||
name: in field
|
name: in field
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -15,8 +15,6 @@ info: |
|
||||||
PrimaryExpression : IdentifierReference ,
|
PrimaryExpression : IdentifierReference ,
|
||||||
MemberExpression : MemberExpression.PrivateName , or
|
MemberExpression : MemberExpression.PrivateName , or
|
||||||
CallExpression : CallExpression.PrivateName .
|
CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private, class-fields-public]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/err-method-delete-covered-
|
path: language/statements/class/syntax/early-errors/delete/method-delete-covered-
|
||||||
name: in method, covered
|
name: in method, covered
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -21,8 +21,6 @@ info: |
|
||||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||||
phrase that, if used in place of UnaryExpression, would produce a
|
phrase that, if used in place of UnaryExpression, would produce a
|
||||||
Syntax Error according to these rules. This rule is recursively applied.
|
Syntax Error according to these rules. This rule is recursively applied.
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/err-method-delete-twice-covered-
|
path: language/statements/class/syntax/early-errors/delete/method-delete-twice-covered-
|
||||||
name: in method, recursively covered
|
name: in method, recursively covered
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -21,8 +21,6 @@ info: |
|
||||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||||
phrase that, if used in place of UnaryExpression, would produce a
|
phrase that, if used in place of UnaryExpression, would produce a
|
||||||
Syntax Error according to these rules. This rule is recursively applied.
|
Syntax Error according to these rules. This rule is recursively applied.
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/statements/class/err-method-delete-
|
path: language/statements/class/syntax/early-errors/delete/method-delete-
|
||||||
name: in method
|
name: in method
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -15,8 +15,6 @@ info: |
|
||||||
PrimaryExpression : IdentifierReference ,
|
PrimaryExpression : IdentifierReference ,
|
||||||
MemberExpression : MemberExpression.PrivateName , or
|
MemberExpression : MemberExpression.PrivateName , or
|
||||||
CallExpression : CallExpression.PrivateName .
|
CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/err-field-delete-covered-
|
path: language/expressions/class/syntax/early-errors/delete/field-delete-covered-
|
||||||
name: in field, covered
|
name: in field, covered
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -21,8 +21,6 @@ info: |
|
||||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||||
phrase that, if used in place of UnaryExpression, would produce a
|
phrase that, if used in place of UnaryExpression, would produce a
|
||||||
Syntax Error according to these rules. This rule is recursively applied.
|
Syntax Error according to these rules. This rule is recursively applied.
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private, class-fields-public]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/err-field-delete-twice-covered-
|
path: language/expressions/class/syntax/early-errors/delete/field-delete-twice-covered-
|
||||||
name: in field, recursively covered
|
name: in field, recursively covered
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -21,8 +21,6 @@ info: |
|
||||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||||
phrase that, if used in place of UnaryExpression, would produce a
|
phrase that, if used in place of UnaryExpression, would produce a
|
||||||
Syntax Error according to these rules. This rule is recursively applied.
|
Syntax Error according to these rules. This rule is recursively applied.
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private, class-fields-public]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/err-field-delete-
|
path: language/expressions/class/syntax/early-errors/delete/field-delete-
|
||||||
name: in field
|
name: in field
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -15,8 +15,6 @@ info: |
|
||||||
PrimaryExpression : IdentifierReference ,
|
PrimaryExpression : IdentifierReference ,
|
||||||
MemberExpression : MemberExpression.PrivateName , or
|
MemberExpression : MemberExpression.PrivateName , or
|
||||||
CallExpression : CallExpression.PrivateName .
|
CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private, class-fields-public]
|
features: [class, class-fields-private, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/err-method-delete-covered-
|
path: language/expressions/class/syntax/early-errors/delete/method-delete-covered-
|
||||||
name: in method, covered
|
name: in method, covered
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -21,8 +21,6 @@ info: |
|
||||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||||
phrase that, if used in place of UnaryExpression, would produce a
|
phrase that, if used in place of UnaryExpression, would produce a
|
||||||
Syntax Error according to these rules. This rule is recursively applied.
|
Syntax Error according to these rules. This rule is recursively applied.
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/err-method-delete-twice-covered-
|
path: language/expressions/class/syntax/early-errors/delete/method-delete-twice-covered-
|
||||||
name: in method, recursively covered
|
name: in method, recursively covered
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -21,8 +21,6 @@ info: |
|
||||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||||
phrase that, if used in place of UnaryExpression, would produce a
|
phrase that, if used in place of UnaryExpression, would produce a
|
||||||
Syntax Error according to these rules. This rule is recursively applied.
|
Syntax Error according to these rules. This rule is recursively applied.
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
path: language/expressions/class/err-method-delete-
|
path: language/expressions/class/syntax/early-errors/delete/method-delete-
|
||||||
name: in method
|
name: in method
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: Early Errors
|
Static Semantics: Early Errors
|
||||||
|
@ -15,8 +15,6 @@ info: |
|
||||||
PrimaryExpression : IdentifierReference ,
|
PrimaryExpression : IdentifierReference ,
|
||||||
MemberExpression : MemberExpression.PrivateName , or
|
MemberExpression : MemberExpression.PrivateName , or
|
||||||
CallExpression : CallExpression.PrivateName .
|
CallExpression : CallExpression.PrivateName .
|
||||||
|
|
||||||
flags: [onlyStrict]
|
|
||||||
features: [class, class-fields-private]
|
features: [class, class-fields-private]
|
||||||
negative:
|
negative:
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
|
Loading…
Reference in New Issue