mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4464 from cryptomental/bugfix/fix-typos-in-AsmParser-and-TypeChecker
AsmParser,TypeChecker: Fix typos.
This commit is contained in:
@@ -1818,7 +1818,7 @@ bool TypeChecker::visit(FunctionCall const& _functionCall)
|
||||
if (functionType->takesArbitraryParameters())
|
||||
m_errorReporter.typeError(
|
||||
_functionCall.location(),
|
||||
"Named arguments cannnot be used for functions that take arbitrary parameters."
|
||||
"Named arguments cannot be used for functions that take arbitrary parameters."
|
||||
);
|
||||
else if (parameterNames.size() > argumentNames.size())
|
||||
m_errorReporter.typeError(_functionCall.location(), "Some argument names are missing.");
|
||||
|
||||
Reference in New Issue
Block a user