Merge pull request #8248 from ethereum/functionCallOptionFollowUp

Fix function call option parsing and add to grammar.
This commit is contained in:
Mathias L. Baumann
2020-02-05 18:01:54 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1768,7 +1768,7 @@ ASTPointer<Expression> Parser::parseLeftHandSideExpression(
nodeFactory.markEndPosition();
expectToken(Token::RBrace);
expression = parseLeftHandSideExpression(nodeFactory.createNode<FunctionCallOptions>(expression, optionList.first, optionList.second));
expression = nodeFactory.createNode<FunctionCallOptions>(expression, optionList.first, optionList.second);
break;
}
default: