mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Add missing features tags for class fields templates and cases
Fixes #1697
This commit is contained in:
parent
dbc101606b
commit
904fd149c9
@ -37,7 +37,7 @@ info: |
|
||||
2. Let propName be ? GetValue(exprValue).
|
||||
3. Return ? ToPropertyKey(propName).
|
||||
template: class-evaluation-error
|
||||
features: [computed-property-names]
|
||||
features: [class-fields-public, computed-property-names]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -37,7 +37,7 @@ info: |
|
||||
2. Let propName be ? GetValue(exprValue).
|
||||
3. Return ? ToPropertyKey(propName).
|
||||
template: class-evaluation-error
|
||||
features: [computed-property-names, Symbol.toPrimitive]
|
||||
features: [class-fields-public, computed-property-names, Symbol.toPrimitive]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -37,7 +37,7 @@ info: |
|
||||
2. Let propName be ? GetValue(exprValue).
|
||||
3. Return ? ToPropertyKey(propName).
|
||||
template: class-evaluation-error
|
||||
features: [computed-property-names, Symbol.toPrimitive]
|
||||
features: [class-fields-public, computed-property-names, Symbol.toPrimitive]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -37,7 +37,7 @@ info: |
|
||||
2. Let propName be ? GetValue(exprValue).
|
||||
3. Return ? ToPropertyKey(propName).
|
||||
template: class-evaluation-error
|
||||
features: [computed-property-names, Symbol.toPrimitive]
|
||||
features: [class-fields-public, computed-property-names, Symbol.toPrimitive]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -37,7 +37,7 @@ info: |
|
||||
2. Let propName be ? GetValue(exprValue).
|
||||
3. Return ? ToPropertyKey(propName).
|
||||
template: default
|
||||
features: [computed-property-names, Symbol.toPrimitive, Symbol]
|
||||
features: [class-fields-public, computed-property-names, Symbol.toPrimitive, Symbol]
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
|
@ -37,7 +37,7 @@ info: |
|
||||
2. Let propName be ? GetValue(exprValue).
|
||||
3. Return ? ToPropertyKey(propName).
|
||||
template: default
|
||||
features: [computed-property-names, Symbol.toPrimitive]
|
||||
features: [class-fields-public, computed-property-names, Symbol.toPrimitive]
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
|
@ -37,7 +37,7 @@ info: |
|
||||
2. Let propName be ? GetValue(exprValue).
|
||||
3. Return ? ToPropertyKey(propName).
|
||||
template: class-evaluation-error
|
||||
features: [computed-property-names]
|
||||
features: [class-fields-public, computed-property-names]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -37,7 +37,7 @@ info: |
|
||||
2. Let propName be ? GetValue(exprValue).
|
||||
3. Return ? ToPropertyKey(propName).
|
||||
template: class-evaluation-error
|
||||
features: [computed-property-names]
|
||||
features: [class-fields-public, computed-property-names]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -15,7 +15,7 @@ info: |
|
||||
PropertyName
|
||||
template: productions
|
||||
includes: [propertyHelper.js]
|
||||
features: [computed-property-names]
|
||||
features: [class-fields-public, computed-property-names]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -15,7 +15,7 @@ info: |
|
||||
PropertyName
|
||||
template: productions
|
||||
includes: [propertyHelper.js]
|
||||
features: [Symbol, computed-property-names]
|
||||
features: [class-fields-public, Symbol, computed-property-names]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -14,6 +14,7 @@ info: |
|
||||
11. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
|
||||
...
|
||||
template: default
|
||||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -14,6 +14,7 @@ info: |
|
||||
11. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
|
||||
...
|
||||
template: default
|
||||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -14,7 +14,7 @@ info: |
|
||||
11. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
|
||||
...
|
||||
template: default
|
||||
features: [computed-property-names]
|
||||
features: [class-fields-public, computed-property-names]
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
|
@ -23,7 +23,7 @@ info: |
|
||||
11. Let result be OrdinaryCallEvaluateBody(F, argumentsList).
|
||||
...
|
||||
template: default
|
||||
features: [computed-property-names]
|
||||
features: [class-fields-public, computed-property-names]
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/statements/class/fields-comp-name-
|
||||
name: computed ClassElementName
|
||||
features: [class, class-fields-public]
|
||||
features: [class, class-fields-public, computed-property-names]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -5,7 +5,7 @@
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
path: language/statements/class/fields-static-comp-name-
|
||||
name: static computed ClassElementName
|
||||
features: [class, class-static-fields-public]
|
||||
features: [class, class-static-fields-public, computed-property-names]
|
||||
---*/
|
||||
|
||||
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-static-comp-name-
|
||||
name: static computed ClassElementName
|
||||
features: [class, class-static-fields-public]
|
||||
features: [class, class-static-fields-public, computed-property-names]
|
||||
---*/
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-performeval-rules-in-initializer
|
||||
path: language/statements/class/fields-derived-cls-indirect-
|
||||
name: indirect eval
|
||||
features: [class, class-fields-public]
|
||||
---*/
|
||||
|
||||
var executed = false;
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-performeval-rules-in-initializer
|
||||
path: language/statements/class/fields-private-derived-cls-direct-
|
||||
name: direct eval
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
var executed = false;
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-performeval-rules-in-initializer
|
||||
path: language/statements/class/fields-private-derived-cls-indirect-
|
||||
name: indirect eval
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
var executed = false;
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-performeval-rules-in-initializer
|
||||
path: language/expressions/class/fields-derived-cls-direct-
|
||||
name: direct eval
|
||||
features: [class, class-fields-public]
|
||||
---*/
|
||||
|
||||
var executed = false;
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-performeval-rules-in-initializer
|
||||
path: language/expressions/class/fields-derived-cls-indirect-
|
||||
name: indirect eval
|
||||
features: [class, class-fields-public]
|
||||
---*/
|
||||
|
||||
var executed = false;
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-performeval-rules-in-initializer
|
||||
path: language/expressions/class/fields-private-derived-cls-direct-
|
||||
name: direct eval
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
var executed = false;
|
||||
|
@ -5,6 +5,7 @@
|
||||
esid: sec-performeval-rules-in-initializer
|
||||
path: language/expressions/class/fields-private-derived-cls-indirect-
|
||||
name: indirect eval
|
||||
features: [class, class-fields-private]
|
||||
---*/
|
||||
|
||||
var executed = false;
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
PropertyName
|
||||
template: productions
|
||||
includes: [propertyHelper.js]
|
||||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
PropertyName
|
||||
template: productions
|
||||
includes: [propertyHelper.js]
|
||||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- setup
|
||||
|
@ -26,6 +26,7 @@ info: |
|
||||
i. Perform ? DefineField(O, fieldRecord).
|
||||
|
||||
template: default
|
||||
features: [class-fields-public]
|
||||
includes: [propertyHelper.js, compareArray.js]
|
||||
---*/
|
||||
|
||||
|
@ -26,6 +26,7 @@ info: |
|
||||
i. Perform ? DefineField(O, fieldRecord).
|
||||
|
||||
template: default
|
||||
features: [class-fields-public, computed-property-names]
|
||||
includes: [propertyHelper.js, compareArray.js]
|
||||
---*/
|
||||
|
||||
|
@ -52,7 +52,7 @@ info: |
|
||||
properties "Other_ID_Start" and "Other_ID_Continue".
|
||||
|
||||
template: productions
|
||||
features: [class-fields-private]
|
||||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
|
@ -52,7 +52,7 @@ info: |
|
||||
properties "Other_ID_Start" and "Other_ID_Continue".
|
||||
|
||||
template: productions
|
||||
features: [class-fields-private]
|
||||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
|
@ -15,6 +15,7 @@ info: |
|
||||
PropertyName
|
||||
template: productions
|
||||
includes: [propertyHelper.js]
|
||||
features: [class-fields-public]
|
||||
---*/
|
||||
|
||||
//- fields
|
||||
|
Loading…
x
Reference in New Issue
Block a user