mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow user-defined functions called like builtins.
This commit is contained in:
parent
5c02837485
commit
e1ae4e37a0
@ -204,7 +204,7 @@ pair<string, bool> TestFileParser::parseFunctionSignature()
|
||||
expect(Token::Identifier);
|
||||
}
|
||||
|
||||
if (isBuiltinFunction(signature))
|
||||
if (isBuiltinFunction(signature) && m_scanner.currentToken() != Token::LParen)
|
||||
return {signature, false};
|
||||
|
||||
signature += formatToken(Token::LParen);
|
||||
|
Loading…
Reference in New Issue
Block a user