Add missing features to class fields tests (#2220)

This commit is contained in:
Nicolò Ribaudo 2019-07-03 23:22:14 +02:00 committed by Leo Balter
parent b41b0577a0
commit 77f6cfb2aa
12 changed files with 12 additions and 12 deletions

View File

@ -22,7 +22,7 @@ info: |
receiver. These semantics allow for a later initializer to refer to
a previous private field.
template: default
features: [class-methods-private]
features: [class-methods-private, class-fields-public]
---*/
//- elements

View File

@ -22,7 +22,7 @@ info: |
receiver. These semantics allow for a later initializer to refer to
a previous private field.
template: default
features: [class-methods-private]
features: [class-methods-private, class-fields-public]
---*/
//- elements

View File

@ -22,7 +22,7 @@ info: |
receiver. These semantics allow for a later initializer to refer to
a previous private field.
template: default
features: [class-methods-private]
features: [class-methods-private, class-fields-public]
---*/
//- elements

View File

@ -4,7 +4,7 @@
/*---
description: Private getters are installed "when super returns" and no earlier (call in field initializer) (field definitions in a class expression)
esid: prod-FieldDefinition
features: [class-methods-private, class]
features: [class-methods-private, class-fields-public, class]
flags: [generated]
info: |
SuperCall: super Arguments

View File

@ -4,7 +4,7 @@
/*---
description: Private methods are installed "when super returns" and no earlier (call in field initializer) (field definitions in a class expression)
esid: prod-FieldDefinition
features: [class-methods-private, class]
features: [class-methods-private, class-fields-public, class]
flags: [generated]
info: |
SuperCall: super Arguments

View File

@ -4,7 +4,7 @@
/*---
description: Private settters are installed "when super returns" and no earlier (call in field initializer) (field definitions in a class expression)
esid: prod-FieldDefinition
features: [class-methods-private, class]
features: [class-methods-private, class-fields-public, class]
flags: [generated]
info: |
SuperCall: super Arguments

View File

@ -14,7 +14,7 @@ info: |
b. Perform ? CreateDataPropertyOrThrow(receiver, fieldName, initValue).
10. Return.
includes: [compareArray.js]
features: [class, class-fields-private]
features: [class, class-fields-private, class-fields-public]
flags: [onlyStrict]
---*/

View File

@ -35,7 +35,7 @@ info: |
3. Let privateName be GetValue(privateNameBinding).
4. Assert: privateName is a Private Name.
5. Return a value of type Reference whose base value is baseValue, whose referenced name is privateName, whose strict reference flag is true.
features: [class-fields-private, class-fields-public, class]
features: [class-methods-private, class-fields-public, class]
---*/
class C {

View File

@ -35,7 +35,7 @@ info: |
3. Let privateName be GetValue(privateNameBinding).
4. Assert: privateName is a Private Name.
5. Return a value of type Reference whose base value is baseValue, whose referenced name is privateName, whose strict reference flag is true.
features: [class-fields-private, class-fields-public, class]
features: [class-methods-private, class-fields-public, class]
---*/
class C {

View File

@ -4,7 +4,7 @@
/*---
description: Private getters are installed "when super returns" and no earlier (call in field initializer) (field definitions in a class declaration)
esid: prod-FieldDefinition
features: [class-methods-private, class]
features: [class-methods-private, class-fields-public, class]
flags: [generated]
info: |
SuperCall: super Arguments

View File

@ -4,7 +4,7 @@
/*---
description: Private methods are installed "when super returns" and no earlier (call in field initializer) (field definitions in a class declaration)
esid: prod-FieldDefinition
features: [class-methods-private, class]
features: [class-methods-private, class-fields-public, class]
flags: [generated]
info: |
SuperCall: super Arguments

View File

@ -4,7 +4,7 @@
/*---
description: Private settters are installed "when super returns" and no earlier (call in field initializer) (field definitions in a class declaration)
esid: prod-FieldDefinition
features: [class-methods-private, class]
features: [class-methods-private, class-fields-public, class]
flags: [generated]
info: |
SuperCall: super Arguments