From c1702e1da6e704e96e51d983a1ff2047f4a4add9 Mon Sep 17 00:00:00 2001 From: Sven SAULEAU Date: Tue, 30 May 2017 20:16:13 +0200 Subject: [PATCH] fix: minor change --- src/parser/expression.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/expression.js b/src/parser/expression.js index 30e459c3a0..51ce2ee690 100644 --- a/src/parser/expression.js +++ b/src/parser/expression.js @@ -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" &&