fix: minor change

This commit is contained in:
Sven SAULEAU 2017-05-30 20:16:13 +02:00
parent b0386005c8
commit c1702e1da6
No known key found for this signature in database
GPG Key ID: 7C3212582FBA1BA2

View File

@ -316,7 +316,7 @@ export default class ExpressionParser extends LValParser {
node.computed = true;
this.expect(tt.bracketR);
base = this.finishNode(node, "MemberExpression");
} if (this.eat(tt.parenL)) {
} else if (this.eat(tt.parenL)) {
const possibleAsync = this.state.potentialArrowAt === base.start &&
base.type === "Identifier" &&
base.name === "async" &&