add () to super call

This commit is contained in:
smikes 2015-02-25 20:41:15 -07:00
parent ba3be4a575
commit ca47fc46de
2 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,6 @@ negative: SyntaxError
---*/
var obj = {
*foo(a = super) {
*foo(a = super()) {
}
};

View File

@ -13,6 +13,6 @@ negative: SyntaxError
var obj = {
*foo(a) {
super;
super();
}
};