Add optional heritage for classes syntax templates

This commit is contained in:
Leo Balter 2018-09-05 16:53:31 -04:00 committed by Rick Waldron
parent af9bcfef5f
commit 938915ddb5
4 changed files with 4 additions and 4 deletions

View File

@ -13,6 +13,6 @@ negative:
throw "Test262: This statement should not be evaluated.";
class C {
class C /*{ heritage }*/ {
/*{ elements }*/
}

View File

@ -13,6 +13,6 @@ negative:
throw "Test262: This statement should not be evaluated.";
var C = class {
var C = class /*{ heritage }*/ {
/*{ elements }*/
};

View File

@ -8,6 +8,6 @@ path: language/statements/class/syntax/valid/
features: [class]
---*/
class C {
class C /*{ heritage }*/ {
/*{ elements }*/
}

View File

@ -8,6 +8,6 @@ path: language/expressions/class/syntax/valid/
features: [class]
---*/
var C = class {
var C = class /*{ heritage }*/ {
/*{ elements }*/
};