Update class public fields tags in non-generated test files

This commit is contained in:
Leo Balter 2017-11-28 13:02:21 -05:00
parent a488271931
commit 6f8c89dfd1
No known key found for this signature in database
GPG Key ID: 507634D36E3F7CEE
19 changed files with 19 additions and 19 deletions

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- computed name interpreted as property description: ASI test in field declarations -- computed name interpreted as property
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
var obj = {} var obj = {}

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- computed name interpreted as string index description: ASI test in field declarations -- computed name interpreted as string index
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
var C = class { var C = class {

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- error when computed name interpreted as index description: ASI test in field declarations -- error when computed name interpreted as index
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- error when generator interpreted as multiplication description: ASI test in field declarations -- error when generator interpreted as multiplication
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public, generators]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- field with PropertyName "in" interpreted as index description: ASI test in field declarations -- field with PropertyName "in" interpreted as index
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
var x = 0; var x = 0;

View File

@ -6,7 +6,7 @@ description: >
static class fields forbid PropName 'constructor' (no early error for static class fields forbid PropName 'constructor' (no early error for
ComputedPropertyName) ComputedPropertyName)
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields] features: [class, class-fields-public]
info: | info: |
Static Semantics: PropName Static Semantics: PropName
... ...

View File

@ -5,7 +5,7 @@
description: > description: >
Cannot redefine a non-configurable, non-writable "prototype" property Cannot redefine a non-configurable, non-writable "prototype" property
esid: runtime-semantics-class-definition-evaluation esid: runtime-semantics-class-definition-evaluation
features: [class-fields] features: [class, class-fields-public]
info: | info: |
// This test file also tests the ComputedPropertyName won't trigger the // This test file also tests the ComputedPropertyName won't trigger the
// following early error: // following early error:

View File

@ -28,7 +28,7 @@ info: |
1. Let fieldName be the result of evaluating ClassElementName. 1. Let fieldName be the result of evaluating ClassElementName.
2. ReturnIfAbrupt(fieldName). 2. ReturnIfAbrupt(fieldName).
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
function f() { function f() {

View File

@ -30,7 +30,7 @@ info: |
5. If initializer is not empty, then 5. If initializer is not empty, then
a.Let initValue be ? Call(initializer, receiver). a.Let initValue be ? Call(initializer, receiver).
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
function f() { function f() {

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- computed name interpreted as property description: ASI test in field declarations -- computed name interpreted as property
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
var obj = {} var obj = {}

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- computed name interpreted as string index description: ASI test in field declarations -- computed name interpreted as string index
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
class C { class C {

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- error when computed name interpreted as index description: ASI test in field declarations -- error when computed name interpreted as index
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- error when generator interpreted as multiplication description: ASI test in field declarations -- error when generator interpreted as multiplication
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public, generators]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -4,7 +4,7 @@
/*--- /*---
description: ASI test in field declarations -- field with PropertyName "in" interpreted as index description: ASI test in field declarations -- field with PropertyName "in" interpreted as index
esid: sec-automatic-semicolon-insertion esid: sec-automatic-semicolon-insertion
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
var x = 0; var x = 0;

View File

@ -6,7 +6,7 @@ description: >
static class fields forbid PropName 'constructor' (no early error for static class fields forbid PropName 'constructor' (no early error for
ComputedPropertyName) ComputedPropertyName)
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields] features: [class, class-fields-public]
info: | info: |
Static Semantics: PropName Static Semantics: PropName
... ...

View File

@ -5,7 +5,7 @@
description: > description: >
Cannot redefine a non-configurable, non-writable "prototype" property Cannot redefine a non-configurable, non-writable "prototype" property
esid: runtime-semantics-class-definition-evaluation esid: runtime-semantics-class-definition-evaluation
features: [class-fields] features: [class, class-fields-public]
info: | info: |
// This test file also tests the ComputedPropertyName won't trigger the // This test file also tests the ComputedPropertyName won't trigger the
// following early error: // following early error:

View File

@ -28,7 +28,7 @@ info: |
1. Let fieldName be the result of evaluating ClassElementName. 1. Let fieldName be the result of evaluating ClassElementName.
2. ReturnIfAbrupt(fieldName). 2. ReturnIfAbrupt(fieldName).
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
function f() { function f() {

View File

@ -28,7 +28,7 @@ info: |
5. If initializer is not empty, then 5. If initializer is not empty, then
a. Let initValue be ? Call(initializer, receiver). a. Let initValue be ? Call(initializer, receiver).
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
function f() { function f() {

View File

@ -34,7 +34,7 @@ info: |
5. If initializer is not empty, then 5. If initializer is not empty, then
a.Let initValue be ? Call(initializer, receiver). a.Let initValue be ? Call(initializer, receiver).
features: [class-fields] features: [class, class-fields-public]
---*/ ---*/
function f() { function f() {