aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
authorCryptomental <cryptomental.com@gmail.com>2018-07-10 17:24:24 +0800
committerCryptomental <cryptomental.com@gmail.com>2018-07-10 18:33:19 +0800
commita55abb550dca6b17d74bf0b5947e1947a99e4e95 (patch)
tree0b87a07572ae7ba47775f33374fdd7fbbdfb7706 /libsolidity/analysis
parentf6edb7fb8f3f86f527d20bbe7b0e55d2c560ba90 (diff)
downloaddexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.tar.gz
dexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.tar.zst
dexon-solidity-a55abb550dca6b17d74bf0b5947e1947a99e4e95.zip
AsmParser,TypeChecker: Fix typos.
Fix typos. The change requested as a separate PR during codespell PR. Adapt tests as well. Refs: #4442
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r--libsolidity/analysis/TypeChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index ed7f05f7..5ad5be4f 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -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.");