Skip to content
Snippets Groups Projects
Commit e2b11556 authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Prepare evaluation error fields to receive more cases using heritance

parent b9aa09c3
No related branches found
No related tags found
No related merge requests found
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
path: language/statements/class/fields-evaluation-error- path: language/statements/class/fields-evaluation-error/
name: field definitions in a class declaration name: field definitions in a class declaration
features: [class] features: [class]
esid: sec-runtime-semantics-classdefinitionevaluation esid: sec-runtime-semantics-classdefinitionevaluation
---*/ ---*/
function evaluate() { function evaluate() {
class C { class C /*{ heritage }*/ {
/*{ elements }*/ /*{ elements }*/
} }
} }
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
path: language/expressions/class/fields-evaluation-error- path: language/expressions/class/fields-evaluation-error/
name: field definitions in a class expression name: field definitions in a class expression
features: [class] features: [class]
esid: sec-runtime-semantics-classdefinitionevaluation esid: sec-runtime-semantics-classdefinitionevaluation
---*/ ---*/
function evaluate() { function evaluate() {
var C = class { var C = class /*{ heritage }*/ {
/*{ elements }*/ /*{ elements }*/
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment