mirror of https://github.com/tc39/test262.git
Prepare evaluation error fields to receive more cases using heritance
This commit is contained in:
parent
b9aa09c33e
commit
e2b115567f
|
@ -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 @@
|
||||||
// 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 }*/
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue