Merge pull request #1761 from rwaldron/jbhoosreddy-private-methods-delete-error

test: Early error private methods delete (#1343)
This commit is contained in:
Leo Balter 2018-09-13 15:04:39 -04:00 committed by GitHub
commit e286bfa000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
158 changed files with 4930 additions and 610 deletions

View File

@ -10,9 +10,19 @@ info: |
UnaryExpression : delete UnaryExpression 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 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. 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.
flags: [onlyStrict]
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,9 +10,19 @@ info: |
UnaryExpression : delete UnaryExpression 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 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. 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.
flags: [onlyStrict]
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,7 +10,13 @@ info: |
UnaryExpression : delete UnaryExpression 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 UnaryExpression is contained in strict mode
code and the derived UnaryExpression is
PrimaryExpression : IdentifierReference ,
MemberExpression : MemberExpression.PrivateName , or
CallExpression : CallExpression.PrivateName .
flags: [onlyStrict]
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,9 +10,19 @@ info: |
UnaryExpression : delete UnaryExpression 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 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. 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.
flags: [onlyStrict]
features: [class, class-fields-private] features: [class, class-fields-private]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,9 +10,19 @@ info: |
UnaryExpression : delete UnaryExpression 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 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. 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.
flags: [onlyStrict]
features: [class, class-fields-private] features: [class, class-fields-private]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,7 +10,13 @@ info: |
UnaryExpression : delete UnaryExpression 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 UnaryExpression is contained in strict mode
code and the derived UnaryExpression is
PrimaryExpression : IdentifierReference ,
MemberExpression : MemberExpression.PrivateName , or
CallExpression : CallExpression.PrivateName .
flags: [onlyStrict]
features: [class, class-fields-private] features: [class, class-fields-private]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,9 +10,19 @@ info: |
UnaryExpression : delete UnaryExpression 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 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. 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.
flags: [onlyStrict]
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,9 +10,19 @@ info: |
UnaryExpression : delete UnaryExpression 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 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. 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.
flags: [onlyStrict]
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,7 +10,13 @@ info: |
UnaryExpression : delete UnaryExpression 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 UnaryExpression is contained in strict mode
code and the derived UnaryExpression is
PrimaryExpression : IdentifierReference ,
MemberExpression : MemberExpression.PrivateName , or
CallExpression : CallExpression.PrivateName .
flags: [onlyStrict]
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,9 +10,19 @@ info: |
UnaryExpression : delete UnaryExpression 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 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. 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.
flags: [onlyStrict]
features: [class, class-fields-private] features: [class, class-fields-private]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,9 +10,19 @@ info: |
UnaryExpression : delete UnaryExpression 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 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. 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.
flags: [onlyStrict]
features: [class, class-fields-private] features: [class, class-fields-private]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -10,7 +10,13 @@ info: |
UnaryExpression : delete UnaryExpression 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 UnaryExpression is contained in strict mode
code and the derived UnaryExpression is
PrimaryExpression : IdentifierReference ,
MemberExpression : MemberExpression.PrivateName , or
CallExpression : CallExpression.PrivateName .
flags: [onlyStrict]
features: [class, class-fields-private] features: [class, class-fields-private]
negative: negative:
type: SyntaxError type: SyntaxError

View File

@ -0,0 +1,20 @@
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-methods-private, class-fields-public]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
async *#m() {}

View File

@ -0,0 +1,20 @@
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-methods-private, class-fields-public]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
async #m() {}

View File

@ -0,0 +1,20 @@
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-methods-private, class-fields-public]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
* #m() {}

View File

@ -0,0 +1,20 @@
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class, class-fields-private, class-methods-private, class-fields-public]
---*/
//- infieldsetup
g = this.f;
//- infunctionsetup
var g = this.f;
//- expression
g().#m
//- functiondeclaration
f() {
return this;
}
#m() {}

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
desc: Syntax error if you call delete on call expressions . privatename desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error template: delete-error
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
---*/ ---*/
@ -14,6 +14,6 @@ var g = this.f;
//- expression //- expression
g().#x g().#x
//- functiondeclaration //- functiondeclaration
f() { f() {
return this; return this;
} }

View File

@ -0,0 +1,14 @@
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class-methods-private]
---*/
//- expression
this.#m
//- functiondeclaration
async *#m() {}

View File

@ -0,0 +1,14 @@
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class-methods-private]
---*/
//- expression
this.#m
//- functiondeclaration
async #m() {}

View File

@ -0,0 +1,14 @@
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class-methods-private]
---*/
//- expression
this.#m
//- functiondeclaration
*#m() {}

View File

@ -0,0 +1,14 @@
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error
features: [class-methods-private]
---*/
//- expression
this.#m
//- functiondeclaration
#m() {}

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
desc: Syntax error if you call delete on member expressions . privatename desc: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName
template: delete-error template: delete-error
features: [class-fields-private] features: [class-fields-private]
---*/ ---*/

View File

@ -1,34 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/call-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
/*---
description: Syntax error if you call delete on call expressions . privatename (in field, covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class, class-fields-private, class-fields-public]
flags: [generated]
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().#x);
f() {
return this;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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().#x);
f() {
return this;
}
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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
);
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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
);
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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
);
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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
);
}

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - 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)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class, 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.#x);
}

View File

@ -1,32 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/member-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-field-delete-covered.template
/*---
description: Syntax error if you call delete on member expressions . privatename (in field, covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class, class-fields-public]
flags: [generated]
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.#x);
}

View File

@ -0,0 +1,36 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,36 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,36 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,36 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -1,11 +1,11 @@
// This file was procedurally generated from the following sources: // This file was procedurally generated from the following sources:
// - src/class-elements/call-expression-privatename.case // - src/class-elements/err-delete-call-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-field-delete.template // - src/class-elements/delete-error/cls-expr-field-delete.template
/*--- /*---
description: Syntax error if you call delete on call expressions . privatename (in field) description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
flags: [generated] flags: [generated, onlyStrict]
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
@ -14,7 +14,11 @@ info: |
UnaryExpression : delete UnaryExpression 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 UnaryExpression is contained in strict mode
code and the derived UnaryExpression is
PrimaryExpression : IdentifierReference ,
MemberExpression : MemberExpression.PrivateName , or
CallExpression : CallExpression.PrivateName .
---*/ ---*/
@ -27,6 +31,6 @@ var C = class {
x = delete g().#x; x = delete g().#x;
f() { f() {
return this; return this;
} }
} }

View File

@ -0,0 +1,35 @@
// This file was procedurally generated from the following sources:
// - 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)
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
;
}

View File

@ -0,0 +1,35 @@
// This file was procedurally generated from the following sources:
// - 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)
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
;
}

View File

@ -0,0 +1,35 @@
// This file was procedurally generated from the following sources:
// - 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)
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
;
}

View File

@ -0,0 +1,35 @@
// This file was procedurally generated from the following sources:
// - 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)
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
;
}

View File

@ -1,11 +1,11 @@
// This file was procedurally generated from the following sources: // This file was procedurally generated from the following sources:
// - src/class-elements/member-expression-privatename.case // - src/class-elements/err-delete-member-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-field-delete.template // - src/class-elements/delete-error/cls-expr-field-delete.template
/*--- /*---
description: Syntax error if you call delete on member expressions . privatename (in field) description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in field)
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class, class-fields-public] features: [class-fields-private, class, class-fields-public]
flags: [generated] flags: [generated, onlyStrict]
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
@ -14,7 +14,11 @@ info: |
UnaryExpression : delete UnaryExpression 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 UnaryExpression is contained in strict mode
code and the derived UnaryExpression is
PrimaryExpression : IdentifierReference ,
MemberExpression : MemberExpression.PrivateName , or
CallExpression : CallExpression.PrivateName .
---*/ ---*/

View File

@ -1,34 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/call-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
/*---
description: Syntax error if you call delete on call expressions . privatename (in field, recursively covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class, class-fields-private, class-fields-public]
flags: [generated]
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().#x));
f() {
return this;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,42 @@
// This file was procedurally generated from the following sources:
// - 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)
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().#x));
f() {
return this;
}
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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
));
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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
));
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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
));
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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
));
}

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - 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)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class, 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.#x));
}

View File

@ -1,32 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/member-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-field-delete-twice-covered.template
/*---
description: Syntax error if you call delete on member expressions . privatename (in field, recursively covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class, class-fields-public]
flags: [generated]
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.#x));
}

View File

@ -1,37 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/call-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
/*---
description: Syntax error if you call delete on call expressions . privatename (in method, covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class, class-fields-private, class-fields-public]
flags: [generated]
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().#x);
}
f() {
return this;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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() {
var g = this.f;
delete (g().#x);
}
f() {
return this;
}
}

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - 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)
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
);
}
}

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - 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)
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
);
}
}

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - 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)
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
);
}
}

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - 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)
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
);
}
}

View File

@ -0,0 +1,43 @@
// This file was procedurally generated from the following sources:
// - 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)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class]
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.#x);
}
}

View File

@ -1,35 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/member-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-method-delete-covered.template
/*---
description: Syntax error if you call delete on member expressions . privatename (in method, covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class]
flags: [generated]
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.#x);
}
}

View File

@ -0,0 +1,39 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,39 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,39 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,39 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -1,11 +1,11 @@
// This file was procedurally generated from the following sources: // This file was procedurally generated from the following sources:
// - src/class-elements/call-expression-privatename.case // - src/class-elements/err-delete-call-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-method-delete.template // - src/class-elements/delete-error/cls-expr-method-delete.template
/*--- /*---
description: Syntax error if you call delete on call expressions . privatename (in method) description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class, class-fields-private, class-fields-public] features: [class, class-fields-private, class-fields-public]
flags: [generated] flags: [generated, onlyStrict]
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
@ -14,7 +14,11 @@ info: |
UnaryExpression : delete UnaryExpression 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 UnaryExpression is contained in strict mode
code and the derived UnaryExpression is
PrimaryExpression : IdentifierReference ,
MemberExpression : MemberExpression.PrivateName , or
CallExpression : CallExpression.PrivateName .
---*/ ---*/
@ -30,6 +34,6 @@ var C = class {
} }
f() { f() {
return this; return this;
} }
} }

View File

@ -0,0 +1,38 @@
// This file was procedurally generated from the following sources:
// - 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)
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
;
}
}

View File

@ -0,0 +1,38 @@
// This file was procedurally generated from the following sources:
// - 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)
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
;
}
}

View File

@ -0,0 +1,38 @@
// This file was procedurally generated from the following sources:
// - 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)
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
;
}
}

View File

@ -0,0 +1,38 @@
// This file was procedurally generated from the following sources:
// - 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)
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
;
}
}

View File

@ -1,11 +1,11 @@
// This file was procedurally generated from the following sources: // This file was procedurally generated from the following sources:
// - src/class-elements/member-expression-privatename.case // - src/class-elements/err-delete-member-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-method-delete.template // - src/class-elements/delete-error/cls-expr-method-delete.template
/*--- /*---
description: Syntax error if you call delete on member expressions . privatename (in method) description: It's a SyntaxError if delete operator is applied to MemberExpression.PrivateName (in method)
esid: sec-class-definitions-static-semantics-early-errors esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class] features: [class-fields-private, class]
flags: [generated] flags: [generated, onlyStrict]
negative: negative:
phase: parse phase: parse
type: SyntaxError type: SyntaxError
@ -14,7 +14,11 @@ info: |
UnaryExpression : delete UnaryExpression 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 UnaryExpression is contained in strict mode
code and the derived UnaryExpression is
PrimaryExpression : IdentifierReference ,
MemberExpression : MemberExpression.PrivateName , or
CallExpression : CallExpression.PrivateName .
---*/ ---*/

View File

@ -1,37 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/call-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
/*---
description: Syntax error if you call delete on call expressions . privatename (in method, recursively covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class, class-fields-private, class-fields-public]
flags: [generated]
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().#x));
}
f() {
return this;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,45 @@
// This file was procedurally generated from the following sources:
// - 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)
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() {
var g = this.f;
delete ((g().#x));
}
f() {
return this;
}
}

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - 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)
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
));
}
}

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - 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)
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
));
}
}

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - 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)
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
));
}
}

View File

@ -0,0 +1,44 @@
// This file was procedurally generated from the following sources:
// - 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)
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
));
}
}

View File

@ -0,0 +1,43 @@
// This file was procedurally generated from the following sources:
// - 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)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class]
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.#x));
}
}

View File

@ -1,35 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/member-expression-privatename.case
// - src/class-elements/delete-error/cls-expr-method-delete-twice-covered.template
/*---
description: Syntax error if you call delete on member expressions . privatename (in method, recursively covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class-fields-private, class]
flags: [generated]
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.#x));
}
}

View File

@ -1,33 +0,0 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/call-expression-privatename.case
// - src/class-elements/delete-error/cls-decl-field-delete-covered.template
/*---
description: Syntax error if you call delete on call expressions . privatename (in field, covered)
esid: sec-class-definitions-static-semantics-early-errors
features: [class, class-fields-private, class-fields-public]
flags: [generated]
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().#x);
f() {
return this;
}
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - 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)
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;
}
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/err-delete-call-expression-private-method-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)
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;
}
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/err-delete-call-expression-private-method.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)
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;
}
}

View File

@ -0,0 +1,41 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/err-delete-call-expression-privatename.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)
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.";
class C {
#x;
g = this.f;
x = delete (g().#x);
f() {
return this;
}
}

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/err-delete-member-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)
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.";
class C {
#x;
x = delete (this.#m
);
}

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/err-delete-member-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)
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.";
class C {
#x;
x = delete (this.#m
);
}

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/err-delete-member-expression-private-method-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)
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.";
class C {
#x;
x = delete (this.#m
);
}

View File

@ -0,0 +1,40 @@
// This file was procedurally generated from the following sources:
// - src/class-elements/err-delete-member-expression-private-method.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)
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.";
class C {
#x;
x = delete (this.#m
);
}

Some files were not shown because too many files have changed in this diff Show More