mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
0575d4d7a8
commit
ab540afaa1
|
@ -0,0 +1,42 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor get method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class-fields-public, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete (g().#m);
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor set method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete (g().#m);
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async generator (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName generator (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private ordinary method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName no referencing class element (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete (g().#m);
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-call-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private field (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor get method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete (this.#m
|
||||
);
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor set method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete (this.#m
|
||||
);
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async generator (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -37,5 +37,5 @@ var C = class {
|
|||
x = delete (this.#m
|
||||
);
|
||||
|
||||
|
||||
async *#m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -37,5 +37,5 @@ var C = class {
|
|||
x = delete (this.#m
|
||||
);
|
||||
|
||||
|
||||
async #m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName generator (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -37,5 +37,5 @@ var C = class {
|
|||
x = delete (this.#m
|
||||
);
|
||||
|
||||
|
||||
*#m() {}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private ordinary method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName no referencing class element (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete (this.#m);
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private field (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-fields-private, class, class-fields-public]
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor get method (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class-fields-public, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete g().#m;
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor set method (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete g().#m;
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async generator (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async method (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName generator (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private ordinary method (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName no referencing class element (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete g().#m;
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-call-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private field (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor get method (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete this.#m
|
||||
;
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor set method (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete this.#m
|
||||
;
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async generator (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -31,5 +31,5 @@ var C = class {
|
|||
x = delete this.#m
|
||||
;
|
||||
|
||||
|
||||
async *#m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async method (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -31,5 +31,5 @@ var C = class {
|
|||
x = delete this.#m
|
||||
;
|
||||
|
||||
|
||||
async #m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName generator (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -31,5 +31,5 @@ var C = class {
|
|||
x = delete this.#m
|
||||
;
|
||||
|
||||
|
||||
*#m() {}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private ordinary method (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName no referencing class element (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete this.#m;
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private field (in field)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-fields-private, class, class-fields-public]
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor get method (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class-fields-public, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete ((g().#m));
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor set method (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete ((g().#m));
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async generator (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async method (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName generator (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private ordinary method (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName no referencing class element (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete ((g().#m));
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-call-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private field (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor get method (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete ((this.#m
|
||||
));
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor set method (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete ((this.#m
|
||||
));
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async generator (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -37,5 +37,5 @@ var C = class {
|
|||
x = delete ((this.#m
|
||||
));
|
||||
|
||||
|
||||
async *#m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async method (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -37,5 +37,5 @@ var C = class {
|
|||
x = delete ((this.#m
|
||||
));
|
||||
|
||||
|
||||
async #m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName generator (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -37,5 +37,5 @@ var C = class {
|
|||
x = delete ((this.#m
|
||||
));
|
||||
|
||||
|
||||
*#m() {}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private ordinary method (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName no referencing class element (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x = delete ((this.#m));
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private field (in field, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-fields-private, class, class-fields-public]
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor get method (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class-fields-public, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete (g().#m);
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor set method (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete (g().#m);
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async generator (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async method (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName generator (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private ordinary method (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName no referencing class element (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete (g().#m);
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private field (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor get method (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete (this.#m
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor set method (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete (this.#m
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async generator (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -40,5 +40,5 @@ var C = class {
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
async *#m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async method (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -40,5 +40,5 @@ var C = class {
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
async #m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName generator (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, generators, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -40,5 +40,5 @@ var C = class {
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
*#m() {}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private ordinary method (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName no referencing class element (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete (this.#m);
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private field (in method, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-fields-private, class]
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor get method (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class-fields-public, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete g().#m;
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor set method (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete g().#m;
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async generator (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async method (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName generator (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private ordinary method (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName no referencing class element (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete g().#m;
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private field (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor get method (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete this.#m
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor set method (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete this.#m
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async generator (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -34,5 +34,5 @@ var C = class {
|
|||
;
|
||||
}
|
||||
|
||||
|
||||
async *#m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async method (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -34,5 +34,5 @@ var C = class {
|
|||
;
|
||||
}
|
||||
|
||||
|
||||
async #m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName generator (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, generators, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -34,5 +34,5 @@ var C = class {
|
|||
;
|
||||
}
|
||||
|
||||
|
||||
*#m() {}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private ordinary method (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName no referencing class element (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete this.#m;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private field (in method)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-fields-private, class]
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor get method (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class-fields-public, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete ((g().#m));
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor set method (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete ((g().#m));
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async generator (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async method (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName generator (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, generators, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private ordinary method (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName no referencing class element (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
var g = this.f;
|
||||
delete ((g().#m));
|
||||
}
|
||||
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName private field (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,44 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor get method (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete ((this.#m
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName accessor set method (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete ((this.#m
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async generator (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -40,5 +40,5 @@ var C = class {
|
|||
));
|
||||
}
|
||||
|
||||
|
||||
async *#m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName async method (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -40,5 +40,5 @@ var C = class {
|
|||
));
|
||||
}
|
||||
|
||||
|
||||
async #m() {}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method-gen.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName generator (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
features: [class-methods-private, generators, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
@ -40,5 +40,5 @@ var C = class {
|
|||
));
|
||||
}
|
||||
|
||||
|
||||
*#m() {}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// - src/class-elements/err-delete-member-expression-private-method.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private ordinary method (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-member-expression-private-no-reference.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName no referencing class element (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
var C = class {
|
||||
#x;
|
||||
|
||||
x() {
|
||||
|
||||
delete ((this.#m));
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-member-expression-privatename.case
|
||||
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method, recursively covered)
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName private field (in method, recursively covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-fields-private, class]
|
||||
features: [class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-get.case
|
||||
// - src/class-elements/delete-error/cls-decl-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor get method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class-methods-private, class-fields-public, class, class-fields-private]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
class C {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete (g().#m);
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/err-delete-call-expression-private-method-accessor-set.case
|
||||
// - src/class-elements/delete-error/cls-decl-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName accessor set method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
Static Semantics: Early Errors
|
||||
|
||||
UnaryExpression : delete UnaryExpression
|
||||
|
||||
It is a Syntax Error if the UnaryExpression is contained in strict mode
|
||||
code and the derived UnaryExpression is
|
||||
PrimaryExpression : IdentifierReference ,
|
||||
MemberExpression : MemberExpression.PrivateName , or
|
||||
CallExpression : CallExpression.PrivateName .
|
||||
|
||||
It is a Syntax Error if the derived UnaryExpression is
|
||||
PrimaryExpression : CoverParenthesizedExpressionAndArrowParameterList and
|
||||
CoverParenthesizedExpressionAndArrowParameterList ultimately derives a
|
||||
phrase that, if used in place of UnaryExpression, would produce a
|
||||
Syntax Error according to these rules. This rule is recursively applied.
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
throw "Test262: This statement should not be evaluated.";
|
||||
|
||||
class C {
|
||||
#x;
|
||||
g = this.f;
|
||||
x = delete (g().#m);
|
||||
f() {
|
||||
return this;
|
||||
}
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async-gen.case
|
||||
// - src/class-elements/delete-error/cls-decl-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async generator (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-iteration, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
// - src/class-elements/err-delete-call-expression-private-method-async.case
|
||||
// - src/class-elements/delete-error/cls-decl-field-delete-covered.template
|
||||
/*---
|
||||
description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field, covered)
|
||||
description: It's a SyntaxError if delete operator is applied to CallExpression.PrivateName async method (in field, covered)
|
||||
esid: sec-class-definitions-static-semantics-early-errors
|
||||
features: [class, class-fields-private, class-methods-private, class-fields-public]
|
||||
features: [class-methods-private, async-functions, class, class-fields-private, class-fields-public]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue