add support for async generator concise methods - fixes #2603
This commit is contained in:
@@ -688,6 +688,7 @@ pp.parseObj = function (isPattern, refShorthandDefaultPos) {
|
||||
prop.key = asyncId;
|
||||
} else {
|
||||
isAsync = true;
|
||||
if (this.hasPlugin("asyncGenerators")) isGenerator = this.eat(tt.star);
|
||||
this.parsePropertyName(prop);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user