Update class fields tags in non-generated test files

This commit is contained in:
Leo Balter 2017-11-28 12:59:27 -05:00
parent d142f75468
commit a488271931
No known key found for this signature in database
GPG Key ID: 507634D36E3F7CEE
46 changed files with 46 additions and 46 deletions

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Syntax error if the same private field defined twice description: Syntax error if the same private field defined twice
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Private class fields early error with StringValue "#constructor" description: Private class fields early error with StringValue "#constructor"
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -7,7 +7,7 @@ info: |
Static Semantics: Early Errors Static Semantics: Early Errors
Module : ModuleBody Module : ModuleBody
It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false.
features: [class-fields] features: [class, class-fields-private]
flags: [module] flags: [module]
negative: negative:
phase: early phase: early

View File

@ -7,7 +7,7 @@ info: |
Static Semantics: Early Errors Static Semantics: Early Errors
Module : ModuleBody Module : ModuleBody
It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false.
features: [class-fields] features: [class, class-fields-private]
flags: [module] flags: [module]
negative: negative:
phase: early phase: early

View File

@ -7,7 +7,7 @@ info: |
Static Semantics: Early Errors Static Semantics: Early Errors
Module : ModuleBody Module : ModuleBody
It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false.
features: [class-fields] features: [class, class-fields-private, class-fields-public]
flags: [module] flags: [module]
negative: negative:
phase: early phase: early

View File

@ -8,7 +8,7 @@ info: |
Static Semantics: Early Errors Static Semantics: Early Errors
Module : ModuleBody Module : ModuleBody
It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false.
features: [class-fields] features: [class, class-fields-private]
flags: [module] flags: [module]
negative: negative:
phase: early phase: early

View File

@ -7,7 +7,7 @@ info: |
Static Semantics: Early Errors Static Semantics: Early Errors
Module : ModuleBody Module : ModuleBody
It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false.
features: [class-fields] features: [class, class-fields-private]
flags: [module] flags: [module]
negative: negative:
phase: early phase: early

View File

@ -7,7 +7,7 @@ info: |
Static Semantics: Early Errors Static Semantics: Early Errors
Module : ModuleBody Module : ModuleBody
It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false.
features: [class-fields] features: [class, class-fields-private]
flags: [module] flags: [module]
negative: negative:
phase: early phase: early

View File

@ -7,7 +7,7 @@ info: |
Static Semantics: Early Errors Static Semantics: Early Errors
Module : ModuleBody Module : ModuleBody
It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false.
features: [class-fields] features: [class-fields-private]
flags: [module] flags: [module]
negative: negative:
phase: early phase: early

View File

@ -7,7 +7,7 @@ info: |
Static Semantics: Early Errors Static Semantics: Early Errors
Module : ModuleBody Module : ModuleBody
It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false. It is a Syntax Error if AllPrivateNamesValid of ModuleBody with an empty List as an argument is false.
features: [class-fields] features: [class-fields-private]
flags: [module] flags: [module]
negative: negative:
phase: early phase: early

View File

@ -25,7 +25,7 @@ info: |
For all other grammatical productions, recurse on subexpressions/substatements, passing in the names of the caller. If all pieces return true, then return true. If any returns false, return false. For all other grammatical productions, recurse on subexpressions/substatements, passing in the names of the caller. If all pieces return true, then return true. If any returns false, return false.
flags: [module] flags: [module]
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
class outer { class outer {

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Syntax error if the same private field defined twice description: Syntax error if the same private field defined twice
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -4,7 +4,7 @@
/*--- /*---
description: Private class fields early error with StringValue "#constructor" description: Private class fields early error with StringValue "#constructor"
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -33,7 +33,7 @@ info: |
3. Let entry be PrivateFieldFind(P, O). 3. Let entry be PrivateFieldFind(P, O).
4. If entry is not empty, throw a TypeError exception. 4. If entry is not empty, throw a TypeError exception.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/

View File

@ -22,7 +22,7 @@ info: |
4. If entry is empty, throw a TypeError exception. 4. If entry is empty, throw a TypeError exception.
5. Return entry.[[PrivateFieldValue]]. 5. Return entry.[[PrivateFieldValue]].
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
class Outer { class Outer {

View File

@ -22,7 +22,7 @@ info: |
4. If entry is empty, throw a TypeError exception. 4. If entry is empty, throw a TypeError exception.
5. Return entry.[[PrivateFieldValue]]. 5. Return entry.[[PrivateFieldValue]].
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/

View File

@ -22,7 +22,7 @@ info: |
4. If entry is empty, throw a TypeError exception. 4. If entry is empty, throw a TypeError exception.
5. Return entry.[[PrivateFieldValue]]. 5. Return entry.[[PrivateFieldValue]].
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/

View File

@ -22,7 +22,7 @@ info: |
4. If entry is empty, throw a TypeError exception. 4. If entry is empty, throw a TypeError exception.
5. Return entry.[[PrivateFieldValue]]. 5. Return entry.[[PrivateFieldValue]].
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/

View File

@ -22,7 +22,7 @@ info: |
4. If entry is empty, throw a TypeError exception. 4. If entry is empty, throw a TypeError exception.
5. Return entry.[[PrivateFieldValue]]. 5. Return entry.[[PrivateFieldValue]].
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/

View File

@ -28,7 +28,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private, class-fields-public]
---*/ ---*/
class C { class C {

View File

@ -28,7 +28,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
class Outer { class Outer {

View File

@ -29,7 +29,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
class Outer { class Outer {

View File

@ -28,7 +28,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
function classfactory() { function classfactory() {

View File

@ -28,7 +28,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
class Outer { class Outer {

View File

@ -28,7 +28,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private, class-fields-public]
---*/ ---*/
class C { class C {

View File

@ -28,7 +28,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
class Outer { class Outer {

View File

@ -29,7 +29,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
class Outer { class Outer {

View File

@ -28,7 +28,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
function classfactory() { function classfactory() {

View File

@ -28,7 +28,7 @@ info: |
a. If entry.[[PrivateName]] is P, return entry. a. If entry.[[PrivateName]] is P, return entry.
4. Return empty. 4. Return empty.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/

View File

@ -9,7 +9,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -9,7 +9,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -9,7 +9,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private, class-fields-public]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -9,7 +9,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -9,7 +9,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -9,7 +9,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -9,7 +9,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -9,7 +9,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class-fields-private]
negative: negative:
phase: early phase: early
type: SyntaxError type: SyntaxError

View File

@ -14,7 +14,7 @@ info: |
1. If names does not contain N, append N to names. 1. If names does not contain N, append N to names.
ii. Let env be env's outer environment reference. ii. Let env be env's outer environment reference.
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
var executed = false; var executed = false;

View File

@ -14,7 +14,7 @@ info: |
1. If names does not contain N, append N to names. 1. If names does not contain N, append N to names.
ii. Let env be env's outer environment reference. ii. Let env be env's outer environment reference.
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
var executed = false; var executed = false;

View File

@ -14,7 +14,7 @@ info: |
1. If names does not contain N, append N to names. 1. If names does not contain N, append N to names.
ii. Let env be env's outer environment reference. ii. Let env be env's outer environment reference.
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private, class-fields-public]
---*/ ---*/
var executed = false; var executed = false;

View File

@ -14,7 +14,7 @@ info: |
1. If names does not contain N, append N to names. 1. If names does not contain N, append N to names.
ii. Let env be env's outer environment reference. ii. Let env be env's outer environment reference.
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
var executed = false; var executed = false;

View File

@ -14,7 +14,7 @@ info: |
1. If names does not contain N, append N to names. 1. If names does not contain N, append N to names.
ii. Let env be env's outer environment reference. ii. Let env be env's outer environment reference.
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
var executed = false; var executed = false;

View File

@ -14,7 +14,7 @@ info: |
1. If names does not contain N, append N to names. 1. If names does not contain N, append N to names.
ii. Let env be env's outer environment reference. ii. Let env be env's outer environment reference.
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
var executed = false; var executed = false;

View File

@ -8,7 +8,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class-fields-private]
---*/ ---*/
var executed = false; var executed = false;

View File

@ -8,7 +8,7 @@ info: |
1. Let names be an empty List. 1. Let names be an empty List.
... ...
3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception. 3. If AllPrivateNamesValid of ScriptBody with the argument names is false, throw a SyntaxError exception.
features: [class-fields] features: [class-fields-private]
---*/ ---*/
var executed = false; var executed = false;

View File

@ -27,7 +27,7 @@ info: |
For all other grammatical productions, recurse on subexpressions/substatements, passing in the names of the caller. If all pieces return true, then return true. If any returns false, return false. For all other grammatical productions, recurse on subexpressions/substatements, passing in the names of the caller. If all pieces return true, then return true. If any returns false, return false.
features: [class-fields] features: [class, class-fields-private]
---*/ ---*/
class outer { class outer {