diff --git a/src/class-elements/class-private-field-whitespace-syntax-error.case b/src/class-elements/class-private-field-whitespace-syntax-error.case deleted file mode 100644 index 37d3702700..0000000000 --- a/src/class-elements/class-private-field-whitespace-syntax-error.case +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax/invalid -features: [class-fields-private] ----*/ - -//- fields -# x = 1 diff --git a/src/class-elements/grammar-privatename-whitespace-error-accessor-get-meth.case b/src/class-elements/grammar-privatename-whitespace-error-accessor-get-meth.case new file mode 100644 index 0000000000..23473a93bf --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-accessor-get-meth.case @@ -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: No space allowed between sigil and IdentifierName () +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-methods-private] +---*/ + +//- elements +get # m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-accessor-set-meth.case b/src/class-elements/grammar-privatename-whitespace-error-accessor-set-meth.case new file mode 100644 index 0000000000..c27d6e4d38 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-accessor-set-meth.case @@ -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: No space allowed between sigil and IdentifierName (Accessor set Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-methods-private] +---*/ + +//- elements +set # m(_) {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-async-gen-meth.case b/src/class-elements/grammar-privatename-whitespace-error-async-gen-meth.case new file mode 100644 index 0000000000..7d380ff861 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-async-gen-meth.case @@ -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: No space allowed between sigil and IdentifierName (Async Generator Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [async-iteration, class-methods-private] +---*/ + +//- elements +async * # m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-async-meth.case b/src/class-elements/grammar-privatename-whitespace-error-async-meth.case new file mode 100644 index 0000000000..949ad6fef2 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-async-meth.case @@ -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: No space allowed between sigil and IdentifierName (Async Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [async-functions, class-methods-private] +---*/ + +//- elements +async # m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-call-expr.case b/src/class-elements/grammar-privatename-whitespace-error-call-expr.case new file mode 100644 index 0000000000..72d8dc7fd7 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-call-expr.case @@ -0,0 +1,30 @@ +// Copyright (C) 2018 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +desc: No space allowed between sigil and IdentifierName (CallExpression) +info: | + Updated Productions + + MemberExpression : + MemberExpression . PrivateName + + CallExpression : + CallExpression . PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-fields-private] +---*/ + +//- elements +#x; + +f() { + return this; +} + +m() { + this.f().# x; +} diff --git a/src/class-elements/grammar-privatename-whitespace-error-field-init.case b/src/class-elements/grammar-privatename-whitespace-error-field-init.case new file mode 100644 index 0000000000..bd3023afe5 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-field-init.case @@ -0,0 +1,20 @@ +// Copyright (C) 2018 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +desc: No space allowed between sigil and IdentifierName (Field with Initializer) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-fields-private] +---*/ + +//- elements +# x = 1; diff --git a/src/class-elements/grammar-privatename-whitespace-error-field.case b/src/class-elements/grammar-privatename-whitespace-error-field.case new file mode 100644 index 0000000000..60fa47bc6b --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-field.case @@ -0,0 +1,20 @@ +// Copyright (C) 2018 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +desc: No space allowed between sigil and IdentifierName (Field) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-fields-private] +---*/ + +//- elements +# x; diff --git a/src/class-elements/grammar-privatename-whitespace-error-gen-meth.case b/src/class-elements/grammar-privatename-whitespace-error-gen-meth.case new file mode 100644 index 0000000000..e918163a5a --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-gen-meth.case @@ -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: No space allowed between sigil and IdentifierName (Generator Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [generators, class-methods-private] +---*/ + +//- elements +* # m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-member-expr.case b/src/class-elements/grammar-privatename-whitespace-error-member-expr.case new file mode 100644 index 0000000000..1688ff75db --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-member-expr.case @@ -0,0 +1,25 @@ +// Copyright (C) 2018 Bloomberg LP. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +desc: No space allowed between sigil and IdentifierName (MemberExpression) +info: | + Updated Productions + + MemberExpression : + MemberExpression . PrivateName + + CallExpression : + CallExpression . PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-fields-private] +---*/ + +//- elements +#x; +m() { + this.# x; +} diff --git a/src/class-elements/grammar-privatename-whitespace-error-meth.case.case b/src/class-elements/grammar-privatename-whitespace-error-meth.case.case new file mode 100644 index 0000000000..83d1cb6979 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-meth.case.case @@ -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: No space allowed between sigil and IdentifierName (Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-methods-private] +---*/ + +//- elements +# m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-static-accessor-get-meth.case b/src/class-elements/grammar-privatename-whitespace-error-static-accessor-get-meth.case new file mode 100644 index 0000000000..1a681a7fea --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-static-accessor-get-meth.case @@ -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: No space allowed between sigil and IdentifierName (Static Accessor get Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-static-methods-private] +---*/ + +//- elements +static get # m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-static-accessor-set-meth.case b/src/class-elements/grammar-privatename-whitespace-error-static-accessor-set-meth.case new file mode 100644 index 0000000000..69f4fee00b --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-static-accessor-set-meth.case @@ -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: No space allowed between sigil and IdentifierName (Static Accessor set Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-static-methods-private] +---*/ + +//- elements +static set # m(_) {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-static-async-gen-meth.case b/src/class-elements/grammar-privatename-whitespace-error-static-async-gen-meth.case new file mode 100644 index 0000000000..22dcf3cf53 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-static-async-gen-meth.case @@ -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: No space allowed between sigil and IdentifierName (Static Async Generator Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [async-iteration, class-static-methods-private] +---*/ + +//- elements +static async * # m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-static-async-meth.case b/src/class-elements/grammar-privatename-whitespace-error-static-async-meth.case new file mode 100644 index 0000000000..fb0631565c --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-static-async-meth.case @@ -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: No space allowed between sigil and IdentifierName (Async Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-static-methods-private] +---*/ + +//- elements +static async # m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-static-field-init.case b/src/class-elements/grammar-privatename-whitespace-error-static-field-init.case new file mode 100644 index 0000000000..61b592afac --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-static-field-init.case @@ -0,0 +1,20 @@ +// Copyright (C) 2018 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +desc: No space allowed between sigil and IdentifierName (Static Field with Initializer) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-static-fields-private] +---*/ + +//- elements +static # x = 1; diff --git a/src/class-elements/grammar-privatename-whitespace-error-static-field.case b/src/class-elements/grammar-privatename-whitespace-error-static-field.case new file mode 100644 index 0000000000..268439e46f --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-static-field.case @@ -0,0 +1,20 @@ +// Copyright (C) 2018 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +desc: No space allowed between sigil and IdentifierName (Static Field) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-static-fields-private] +---*/ + +//- elements +static # x; diff --git a/src/class-elements/grammar-privatename-whitespace-error-static-gen-meth.case b/src/class-elements/grammar-privatename-whitespace-error-static-gen-meth.case new file mode 100644 index 0000000000..c69b9affd4 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-static-gen-meth.case @@ -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: No space allowed between sigil and IdentifierName (Static Generator Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [generators, class-static-methods-private] +---*/ + +//- elements +static * # m() {} diff --git a/src/class-elements/grammar-privatename-whitespace-error-static-meth.case b/src/class-elements/grammar-privatename-whitespace-error-static-meth.case new file mode 100644 index 0000000000..e51d5a44d8 --- /dev/null +++ b/src/class-elements/grammar-privatename-whitespace-error-static-meth.case @@ -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: No space allowed between sigil and IdentifierName (Static Method) +info: | + Updated Productions + + ClassElementName : + PropertyName + PrivateName + + PrivateName :: + # IdentifierName +template: syntax/invalid +features: [class-static-methods-private] +---*/ + +//- elements +static # m() {} diff --git a/src/class-methods/class-private-async-generator-method-static-whitespace-syntax-error.case b/src/class-methods/class-private-async-generator-method-static-whitespace-syntax-error.case deleted file mode 100644 index ea3e7374ed..0000000000 --- a/src/class-methods/class-private-async-generator-method-static-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -static async * # m() {} diff --git a/src/class-methods/class-private-async-generator-method-whitespace-syntax-error.case b/src/class-methods/class-private-async-generator-method-whitespace-syntax-error.case deleted file mode 100644 index 8989cb811b..0000000000 --- a/src/class-methods/class-private-async-generator-method-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -async * # m() {} diff --git a/src/class-methods/class-private-async-method-static-whitespace-syntax-error.case b/src/class-methods/class-private-async-method-static-whitespace-syntax-error.case deleted file mode 100644 index 12106904ea..0000000000 --- a/src/class-methods/class-private-async-method-static-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -static async # m() {} diff --git a/src/class-methods/class-private-async-method-whitespace-syntax-error.case b/src/class-methods/class-private-async-method-whitespace-syntax-error.case deleted file mode 100644 index a7a2c25958..0000000000 --- a/src/class-methods/class-private-async-method-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -async # m() {} diff --git a/src/class-methods/class-private-generator-method-static-whitespace-syntax-error.case b/src/class-methods/class-private-generator-method-static-whitespace-syntax-error.case deleted file mode 100644 index 37069b4fee..0000000000 --- a/src/class-methods/class-private-generator-method-static-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -static * # m() {} diff --git a/src/class-methods/class-private-generator-method-whitespace-syntax-error.case b/src/class-methods/class-private-generator-method-whitespace-syntax-error.case deleted file mode 100644 index 3a97227731..0000000000 --- a/src/class-methods/class-private-generator-method-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -* # m() {} diff --git a/src/class-methods/class-private-getter-static-whitespace-syntax-error.case b/src/class-methods/class-private-getter-static-whitespace-syntax-error.case deleted file mode 100644 index 65525415b3..0000000000 --- a/src/class-methods/class-private-getter-static-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -static set # m() {} diff --git a/src/class-methods/class-private-getter-whitespace-syntax-error.case b/src/class-methods/class-private-getter-whitespace-syntax-error.case deleted file mode 100644 index 2c067f1372..0000000000 --- a/src/class-methods/class-private-getter-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -get # m() {} diff --git a/src/class-methods/class-private-method-static-whitespace-syntax-error.case b/src/class-methods/class-private-method-static-whitespace-syntax-error.case deleted file mode 100644 index c29a56416b..0000000000 --- a/src/class-methods/class-private-method-static-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -static # m() {} diff --git a/src/class-methods/class-private-method-whitespace-syntax-error.case b/src/class-methods/class-private-method-whitespace-syntax-error.case deleted file mode 100644 index cd0feaeb5f..0000000000 --- a/src/class-methods/class-private-method-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -# m() {} diff --git a/src/class-methods/class-private-method-whitespace-usage-syntax-error.case b/src/class-methods/class-private-method-whitespace-usage-syntax-error.case deleted file mode 100644 index dd53217e3c..0000000000 --- a/src/class-methods/class-private-method-whitespace-usage-syntax-error.case +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -m() { - this.# x = 1; -} diff --git a/src/class-methods/class-private-setter-static-whitespace-syntax-error.case b/src/class-methods/class-private-setter-static-whitespace-syntax-error.case deleted file mode 100644 index 65525415b3..0000000000 --- a/src/class-methods/class-private-setter-static-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -static set # m() {} diff --git a/src/class-methods/class-private-setter-whitespace-syntax-error.case b/src/class-methods/class-private-setter-whitespace-syntax-error.case deleted file mode 100644 index c9c7dca58b..0000000000 --- a/src/class-methods/class-private-setter-whitespace-syntax-error.case +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - /*--- -desc: Syntax error if whitespace after '#' sigil -template: syntax -features: [class-methods-private] -negative: - phase: parse - type: SyntaxError ----*/ -//- setup -throw "Test262: This statement should not be evaluated."; - - //- methods -set # m() {} diff --git a/src/class-methods/syntax/class-decl.template b/src/class-methods/syntax/class-decl.template deleted file mode 100644 index e7f3172437..0000000000 --- a/src/class-methods/syntax/class-decl.template +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -esid: prod-ClassElement -name: class declaration -path: language/statements/class/syntax- -features: [class] ----*/ - -class C { - /*{ methods }*/ -} diff --git a/src/class-methods/syntax/class-expr.template b/src/class-methods/syntax/class-expr.template deleted file mode 100644 index 7a0c64a32f..0000000000 --- a/src/class-methods/syntax/class-expr.template +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (C) 2018 Bloomberg LP. All rights reserved. -// This code is governed by the BSD license found in the LICENSE file. - -/*--- -esid: prod-ClassElement -name: class expression -path: language/expressions/class/syntax- -features: [class] ----*/ - -var C = class { - /*{ methods }*/ -};