From 317cacdcc9988ecad0889eb1e4987dbade662029 Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Thu, 13 Sep 2018 14:55:32 -0400 Subject: [PATCH] Fix test generation --- ...ield-delete-call-expression-privatename.js | 32 ---------------- ...ete-covered-call-expression-privatename.js | 34 ----------------- ...e-covered-member-expression-privatename.js | 32 ---------------- ...ld-delete-member-expression-privatename.js | 30 --------------- ...ice-covered-call-expression-privatename.js | 34 ----------------- ...e-covered-member-expression-privatename.js | 32 ---------------- ...thod-delete-call-expression-privatename.js | 35 ------------------ ...ete-covered-call-expression-privatename.js | 37 ------------------- ...e-covered-member-expression-privatename.js | 35 ------------------ ...od-delete-member-expression-privatename.js | 33 ----------------- ...ice-covered-call-expression-privatename.js | 37 ------------------- ...e-covered-member-expression-privatename.js | 35 ------------------ ...ield-delete-call-expression-privatename.js | 31 ---------------- ...ete-covered-call-expression-privatename.js | 33 ----------------- ...e-covered-member-expression-privatename.js | 31 ---------------- ...ld-delete-member-expression-privatename.js | 29 --------------- ...ice-covered-call-expression-privatename.js | 34 ----------------- ...e-covered-member-expression-privatename.js | 32 ---------------- ...thod-delete-call-expression-privatename.js | 35 ------------------ ...ete-covered-call-expression-privatename.js | 37 ------------------- ...e-covered-member-expression-privatename.js | 35 ------------------ ...od-delete-member-expression-privatename.js | 33 ----------------- ...ice-covered-call-expression-privatename.js | 37 ------------------- ...e-covered-member-expression-privatename.js | 35 ------------------ 24 files changed, 808 deletions(-) delete mode 100644 test/language/expressions/class/err-field-delete-call-expression-privatename.js delete mode 100644 test/language/expressions/class/err-field-delete-covered-call-expression-privatename.js delete mode 100644 test/language/expressions/class/err-field-delete-covered-member-expression-privatename.js delete mode 100644 test/language/expressions/class/err-field-delete-member-expression-privatename.js delete mode 100644 test/language/expressions/class/err-field-delete-twice-covered-call-expression-privatename.js delete mode 100644 test/language/expressions/class/err-field-delete-twice-covered-member-expression-privatename.js delete mode 100644 test/language/expressions/class/err-method-delete-call-expression-privatename.js delete mode 100644 test/language/expressions/class/err-method-delete-covered-call-expression-privatename.js delete mode 100644 test/language/expressions/class/err-method-delete-covered-member-expression-privatename.js delete mode 100644 test/language/expressions/class/err-method-delete-member-expression-privatename.js delete mode 100644 test/language/expressions/class/err-method-delete-twice-covered-call-expression-privatename.js delete mode 100644 test/language/expressions/class/err-method-delete-twice-covered-member-expression-privatename.js delete mode 100644 test/language/statements/class/err-field-delete-call-expression-privatename.js delete mode 100644 test/language/statements/class/err-field-delete-covered-call-expression-privatename.js delete mode 100644 test/language/statements/class/err-field-delete-covered-member-expression-privatename.js delete mode 100644 test/language/statements/class/err-field-delete-member-expression-privatename.js delete mode 100644 test/language/statements/class/err-field-delete-twice-covered-call-expression-privatename.js delete mode 100644 test/language/statements/class/err-field-delete-twice-covered-member-expression-privatename.js delete mode 100644 test/language/statements/class/err-method-delete-call-expression-privatename.js delete mode 100644 test/language/statements/class/err-method-delete-covered-call-expression-privatename.js delete mode 100644 test/language/statements/class/err-method-delete-covered-member-expression-privatename.js delete mode 100644 test/language/statements/class/err-method-delete-member-expression-privatename.js delete mode 100644 test/language/statements/class/err-method-delete-twice-covered-call-expression-privatename.js delete mode 100644 test/language/statements/class/err-method-delete-twice-covered-member-expression-privatename.js diff --git a/test/language/expressions/class/err-field-delete-call-expression-privatename.js b/test/language/expressions/class/err-field-delete-call-expression-privatename.js deleted file mode 100644 index 35bfa31bb6..0000000000 --- a/test/language/expressions/class/err-field-delete-call-expression-privatename.js +++ /dev/null @@ -1,32 +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.template -/*--- -description: Syntax error if you call delete on call expressions . privatename (in field) -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 . - ----*/ - - -throw "Test262: This statement should not be evaluated."; - -var C = class { - #x; - g = this.f; - x = delete g().#x; - - f() { - return this; - } -} diff --git a/test/language/expressions/class/err-field-delete-covered-call-expression-privatename.js b/test/language/expressions/class/err-field-delete-covered-call-expression-privatename.js deleted file mode 100644 index 74df2d10b5..0000000000 --- a/test/language/expressions/class/err-field-delete-covered-call-expression-privatename.js +++ /dev/null @@ -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; - } -} diff --git a/test/language/expressions/class/err-field-delete-covered-member-expression-privatename.js b/test/language/expressions/class/err-field-delete-covered-member-expression-privatename.js deleted file mode 100644 index b761164b43..0000000000 --- a/test/language/expressions/class/err-field-delete-covered-member-expression-privatename.js +++ /dev/null @@ -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); - - -} diff --git a/test/language/expressions/class/err-field-delete-member-expression-privatename.js b/test/language/expressions/class/err-field-delete-member-expression-privatename.js deleted file mode 100644 index e99f80305e..0000000000 --- a/test/language/expressions/class/err-field-delete-member-expression-privatename.js +++ /dev/null @@ -1,30 +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.template -/*--- -description: Syntax error if you call delete on member expressions . privatename (in field) -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 . - ----*/ - - -throw "Test262: This statement should not be evaluated."; - -var C = class { - #x; - - x = delete this.#x; - - -} diff --git a/test/language/expressions/class/err-field-delete-twice-covered-call-expression-privatename.js b/test/language/expressions/class/err-field-delete-twice-covered-call-expression-privatename.js deleted file mode 100644 index 89a4478aff..0000000000 --- a/test/language/expressions/class/err-field-delete-twice-covered-call-expression-privatename.js +++ /dev/null @@ -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; - } -} diff --git a/test/language/expressions/class/err-field-delete-twice-covered-member-expression-privatename.js b/test/language/expressions/class/err-field-delete-twice-covered-member-expression-privatename.js deleted file mode 100644 index 4611ba15cb..0000000000 --- a/test/language/expressions/class/err-field-delete-twice-covered-member-expression-privatename.js +++ /dev/null @@ -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)); - - -} diff --git a/test/language/expressions/class/err-method-delete-call-expression-privatename.js b/test/language/expressions/class/err-method-delete-call-expression-privatename.js deleted file mode 100644 index b6552d17e1..0000000000 --- a/test/language/expressions/class/err-method-delete-call-expression-privatename.js +++ /dev/null @@ -1,35 +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.template -/*--- -description: Syntax error if you call delete on call expressions . privatename (in method) -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 . - ----*/ - - -throw "Test262: This statement should not be evaluated."; - -var C = class { - #x; - - x() { - var g = this.f; - delete g().#x; - } - - f() { - return this; - } -} diff --git a/test/language/expressions/class/err-method-delete-covered-call-expression-privatename.js b/test/language/expressions/class/err-method-delete-covered-call-expression-privatename.js deleted file mode 100644 index b54fdf02b1..0000000000 --- a/test/language/expressions/class/err-method-delete-covered-call-expression-privatename.js +++ /dev/null @@ -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; - } -} diff --git a/test/language/expressions/class/err-method-delete-covered-member-expression-privatename.js b/test/language/expressions/class/err-method-delete-covered-member-expression-privatename.js deleted file mode 100644 index 5f6f0b64bd..0000000000 --- a/test/language/expressions/class/err-method-delete-covered-member-expression-privatename.js +++ /dev/null @@ -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); - } - - -} diff --git a/test/language/expressions/class/err-method-delete-member-expression-privatename.js b/test/language/expressions/class/err-method-delete-member-expression-privatename.js deleted file mode 100644 index 369ed055da..0000000000 --- a/test/language/expressions/class/err-method-delete-member-expression-privatename.js +++ /dev/null @@ -1,33 +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.template -/*--- -description: Syntax error if you call delete on member expressions . privatename (in method) -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 . - ----*/ - - -throw "Test262: This statement should not be evaluated."; - -var C = class { - #x; - - x() { - - delete this.#x; - } - - -} diff --git a/test/language/expressions/class/err-method-delete-twice-covered-call-expression-privatename.js b/test/language/expressions/class/err-method-delete-twice-covered-call-expression-privatename.js deleted file mode 100644 index 29db0e9be5..0000000000 --- a/test/language/expressions/class/err-method-delete-twice-covered-call-expression-privatename.js +++ /dev/null @@ -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; - } -} diff --git a/test/language/expressions/class/err-method-delete-twice-covered-member-expression-privatename.js b/test/language/expressions/class/err-method-delete-twice-covered-member-expression-privatename.js deleted file mode 100644 index d4ff4a535a..0000000000 --- a/test/language/expressions/class/err-method-delete-twice-covered-member-expression-privatename.js +++ /dev/null @@ -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)); - } - - -} diff --git a/test/language/statements/class/err-field-delete-call-expression-privatename.js b/test/language/statements/class/err-field-delete-call-expression-privatename.js deleted file mode 100644 index 9286c7dc9b..0000000000 --- a/test/language/statements/class/err-field-delete-call-expression-privatename.js +++ /dev/null @@ -1,31 +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.template -/*--- -description: Syntax error if you call delete on call expressions . privatename (in field) -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 . - ----*/ - - -throw "Test262: This statement should not be evaluated."; - -class C { - #x; - g = this.f; - x = delete g().#x; - f() { - return this; - } -} diff --git a/test/language/statements/class/err-field-delete-covered-call-expression-privatename.js b/test/language/statements/class/err-field-delete-covered-call-expression-privatename.js deleted file mode 100644 index c836020839..0000000000 --- a/test/language/statements/class/err-field-delete-covered-call-expression-privatename.js +++ /dev/null @@ -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; - } -} diff --git a/test/language/statements/class/err-field-delete-covered-member-expression-privatename.js b/test/language/statements/class/err-field-delete-covered-member-expression-privatename.js deleted file mode 100644 index b4efac222e..0000000000 --- a/test/language/statements/class/err-field-delete-covered-member-expression-privatename.js +++ /dev/null @@ -1,31 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/class-elements/member-expression-privatename.case -// - src/class-elements/delete-error/cls-decl-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."; - -class C { - #x; - - x = delete (this.#x); - -} diff --git a/test/language/statements/class/err-field-delete-member-expression-privatename.js b/test/language/statements/class/err-field-delete-member-expression-privatename.js deleted file mode 100644 index 7a705def15..0000000000 --- a/test/language/statements/class/err-field-delete-member-expression-privatename.js +++ /dev/null @@ -1,29 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/class-elements/member-expression-privatename.case -// - src/class-elements/delete-error/cls-decl-field-delete.template -/*--- -description: Syntax error if you call delete on member expressions . privatename (in field) -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 . - ----*/ - - -throw "Test262: This statement should not be evaluated."; - -class C { - #x; - - x = delete this.#x; - -} diff --git a/test/language/statements/class/err-field-delete-twice-covered-call-expression-privatename.js b/test/language/statements/class/err-field-delete-twice-covered-call-expression-privatename.js deleted file mode 100644 index beec269fc5..0000000000 --- a/test/language/statements/class/err-field-delete-twice-covered-call-expression-privatename.js +++ /dev/null @@ -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-decl-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."; - -class C { - #x; - g = this.f; - x = delete ((g().#x)); - - f() { - return this; - } -} diff --git a/test/language/statements/class/err-field-delete-twice-covered-member-expression-privatename.js b/test/language/statements/class/err-field-delete-twice-covered-member-expression-privatename.js deleted file mode 100644 index d365b3a3ee..0000000000 --- a/test/language/statements/class/err-field-delete-twice-covered-member-expression-privatename.js +++ /dev/null @@ -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-decl-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."; - -class C { - #x; - - x = delete ((this.#x)); - - -} diff --git a/test/language/statements/class/err-method-delete-call-expression-privatename.js b/test/language/statements/class/err-method-delete-call-expression-privatename.js deleted file mode 100644 index 48bea2cd6f..0000000000 --- a/test/language/statements/class/err-method-delete-call-expression-privatename.js +++ /dev/null @@ -1,35 +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-method-delete.template -/*--- -description: Syntax error if you call delete on call expressions . privatename (in method) -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 . - ----*/ - - -throw "Test262: This statement should not be evaluated."; - -class C { - #x; - - x() { - var g = this.f; - delete g().#x; - } - - f() { - return this; - } -} diff --git a/test/language/statements/class/err-method-delete-covered-call-expression-privatename.js b/test/language/statements/class/err-method-delete-covered-call-expression-privatename.js deleted file mode 100644 index b91a1fe012..0000000000 --- a/test/language/statements/class/err-method-delete-covered-call-expression-privatename.js +++ /dev/null @@ -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-decl-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."; - -class C { - #x; - - x() { - var g = this.f; - delete (g().#x); - } - - f() { - return this; - } -} diff --git a/test/language/statements/class/err-method-delete-covered-member-expression-privatename.js b/test/language/statements/class/err-method-delete-covered-member-expression-privatename.js deleted file mode 100644 index d383d3000f..0000000000 --- a/test/language/statements/class/err-method-delete-covered-member-expression-privatename.js +++ /dev/null @@ -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-decl-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."; - -class C { - #x; - - x() { - - delete (this.#x); - } - - -} diff --git a/test/language/statements/class/err-method-delete-member-expression-privatename.js b/test/language/statements/class/err-method-delete-member-expression-privatename.js deleted file mode 100644 index 2b6c03e11e..0000000000 --- a/test/language/statements/class/err-method-delete-member-expression-privatename.js +++ /dev/null @@ -1,33 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/class-elements/member-expression-privatename.case -// - src/class-elements/delete-error/cls-decl-method-delete.template -/*--- -description: Syntax error if you call delete on member expressions . privatename (in method) -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 . - ----*/ - - -throw "Test262: This statement should not be evaluated."; - -class C { - #x; - - x() { - - delete this.#x; - } - - -} diff --git a/test/language/statements/class/err-method-delete-twice-covered-call-expression-privatename.js b/test/language/statements/class/err-method-delete-twice-covered-call-expression-privatename.js deleted file mode 100644 index 0b2e6af2c4..0000000000 --- a/test/language/statements/class/err-method-delete-twice-covered-call-expression-privatename.js +++ /dev/null @@ -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-decl-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."; - -class C { - #x; - - x() { - var g = this.f; - delete ((g().#x)); - } - - f() { - return this; - } -} diff --git a/test/language/statements/class/err-method-delete-twice-covered-member-expression-privatename.js b/test/language/statements/class/err-method-delete-twice-covered-member-expression-privatename.js deleted file mode 100644 index 78e5e18165..0000000000 --- a/test/language/statements/class/err-method-delete-twice-covered-member-expression-privatename.js +++ /dev/null @@ -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-decl-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."; - -class C { - #x; - - x() { - - delete ((this.#x)); - } - - -}