aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-03 21:21:08 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-06 16:38:04 +0800
commitf09c6fffc9f55b5208560d6550134bf854970db8 (patch)
tree71f01d16baf56693f9526734c63cde9d0bafb22e /AST.cpp
parent8c1d928c944b70cf7318d8277cdfbf2ef0421857 (diff)
downloaddexon-solidity-f09c6fffc9f55b5208560d6550134bf854970db8.tar.gz
dexon-solidity-f09c6fffc9f55b5208560d6550134bf854970db8.tar.zst
dexon-solidity-f09c6fffc9f55b5208560d6550134bf854970db8.zip
Renaming a function for clarity
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.cpp b/AST.cpp
index c4fd7e2d..39ba10f3 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -502,7 +502,7 @@ void FunctionCall::checkTypeRequirements()
#endif
if (!m_arguments[i]->getType()->isImplicitlyConvertibleTo(*parameterTypes[0]))
BOOST_THROW_EXCEPTION(createTypeError(std::string("SHA3 argument ") +
- boost::lexical_cast<std::string>(i) +
+ boost::lexical_cast<std::string>(i + 1) +
std::string("can't be converted to hash")));
} else if (!m_arguments[i]->getType()->isImplicitlyConvertibleTo(*parameterTypes[i]))