mirror of
https://github.com/tc39/test262.git
synced 2025-07-28 00:14:35 +02:00
Merge pull request #1761 from rwaldron/jbhoosreddy-private-methods-delete-error
test: Early error private methods delete (#1343)
This commit is contained in:
commit
e286bfa000
@ -10,9 +10,19 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,9 +10,19 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,7 +10,13 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,9 +10,19 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,9 +10,19 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,7 +10,13 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,9 +10,19 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,9 +10,19 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,7 +10,13 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,9 +10,19 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,9 +10,19 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -10,7 +10,13 @@ info: |
|
||||
|
||||
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]
|
||||
negative:
|
||||
type: SyntaxError
|
||||
|
@ -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() {}
|
@ -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() {}
|
@ -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() {}
|
@ -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() {}
|
@ -2,7 +2,7 @@
|
||||
// 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
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
---*/
|
||||
@ -14,6 +14,6 @@ var g = this.f;
|
||||
//- expression
|
||||
g().#x
|
||||
//- functiondeclaration
|
||||
f() {
|
||||
return this;
|
||||
f() {
|
||||
return this;
|
||||
}
|
@ -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() {}
|
@ -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() {}
|
@ -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() {}
|
@ -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() {}
|
@ -2,7 +2,7 @@
|
||||
// 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
|
||||
features: [class-fields-private]
|
||||
---*/
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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
|
||||
);
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
);
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
);
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
);
|
||||
|
||||
|
||||
}
|
@ -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);
|
||||
|
||||
|
||||
}
|
@ -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);
|
||||
|
||||
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
// 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
|
||||
/*---
|
||||
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
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
@ -14,7 +14,11 @@ info: |
|
||||
|
||||
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;
|
||||
|
||||
f() {
|
||||
return this;
|
||||
return this;
|
||||
}
|
||||
}
|
@ -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
|
||||
;
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
;
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
;
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
;
|
||||
|
||||
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
// 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
|
||||
/*---
|
||||
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
|
||||
features: [class-fields-private, class, class-fields-public]
|
||||
flags: [generated]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
@ -14,7 +14,11 @@ info: |
|
||||
|
||||
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 .
|
||||
|
||||
---*/
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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
|
||||
));
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
));
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
));
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
));
|
||||
|
||||
|
||||
}
|
@ -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));
|
||||
|
||||
|
||||
}
|
@ -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));
|
||||
|
||||
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
// 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
|
||||
/*---
|
||||
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
|
||||
features: [class, class-fields-private, class-fields-public]
|
||||
flags: [generated]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
@ -14,7 +14,11 @@ info: |
|
||||
|
||||
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() {
|
||||
return this;
|
||||
return this;
|
||||
}
|
||||
}
|
@ -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
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
// 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
|
||||
/*---
|
||||
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
|
||||
features: [class-fields-private, class]
|
||||
flags: [generated]
|
||||
flags: [generated, onlyStrict]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
@ -14,7 +14,11 @@ info: |
|
||||
|
||||
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 .
|
||||
|
||||
---*/
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -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
|
||||
);
|
||||
|
||||
}
|
@ -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
|
||||
);
|
||||
|
||||
}
|
@ -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
|
||||
);
|
||||
|
||||
}
|
@ -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
Loading…
x
Reference in New Issue
Block a user