diff --git a/src/class-elements/class-evaluation-error/cls-decl.template b/src/class-elements/class-evaluation-error/cls-decl.template index f0af80766c..393a9b9246 100644 --- a/src/class-elements/class-evaluation-error/cls-decl.template +++ b/src/class-elements/class-evaluation-error/cls-decl.template @@ -2,14 +2,14 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -path: language/statements/class/fields-evaluation-error- +path: language/statements/class/fields-evaluation-error/ name: field definitions in a class declaration features: [class] esid: sec-runtime-semantics-classdefinitionevaluation ---*/ function evaluate() { - class C { + class C /*{ heritage }*/ { /*{ elements }*/ } } diff --git a/src/class-elements/class-evaluation-error/cls-expr.template b/src/class-elements/class-evaluation-error/cls-expr.template index 070b636cf4..f4058e59c5 100644 --- a/src/class-elements/class-evaluation-error/cls-expr.template +++ b/src/class-elements/class-evaluation-error/cls-expr.template @@ -2,14 +2,14 @@ // This code is governed by the BSD license found in the LICENSE file. /*--- -path: language/expressions/class/fields-evaluation-error- +path: language/expressions/class/fields-evaluation-error/ name: field definitions in a class expression features: [class] esid: sec-runtime-semantics-classdefinitionevaluation ---*/ function evaluate() { - var C = class { + var C = class /*{ heritage }*/ { /*{ elements }*/ }; }