Merge pull request #180 from smikes/178-generator-super

add () to super call
This commit is contained in:
Brian Terlson 2015-02-26 16:35:29 -08:00
commit 1b04b7db08
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();
}
};