mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Update class fields tags in non-generated test files
This commit is contained in:
parent
d142f75468
commit
a488271931
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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 {
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -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]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -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]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -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]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -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]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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() {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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() {
|
||||||
|
@ -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]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user