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.
|
||||
|
||||
/*---
|
||||
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 }*/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 }*/
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue