AsmParser,TypeChecker: Fix typos.

Fix typos. The change requested as a separate PR during codespell PR.
Adapt tests as well.

Refs: #4442
This commit is contained in:
Cryptomental
2018-07-10 12:33:19 +02:00
parent f6edb7fb8f
commit a55abb550d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1848,7 +1848,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.");