aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-28 20:39:04 +0800
committerChristian <c@ethdev.com>2015-01-28 20:39:04 +0800
commit95d8d7b1f00d3521d20a3735472e359d03d71816 (patch)
tree0662c5bed06b9cdffae7bc90d1f9466534f59c9c /AST.cpp
parent34d07fc5837745ee3c8fbc571d0e2f0d02041cf1 (diff)
downloaddexon-solidity-95d8d7b1f00d3521d20a3735472e359d03d71816.tar
dexon-solidity-95d8d7b1f00d3521d20a3735472e359d03d71816.tar.gz
dexon-solidity-95d8d7b1f00d3521d20a3735472e359d03d71816.tar.bz2
dexon-solidity-95d8d7b1f00d3521d20a3735472e359d03d71816.tar.lz
dexon-solidity-95d8d7b1f00d3521d20a3735472e359d03d71816.tar.xz
dexon-solidity-95d8d7b1f00d3521d20a3735472e359d03d71816.tar.zst
dexon-solidity-95d8d7b1f00d3521d20a3735472e359d03d71816.zip
Cleaner solution to provide standard sources.
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/AST.cpp b/AST.cpp
index cc7da715..e5967caa 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -414,8 +414,7 @@ void FunctionCall::checkTypeRequirements()
//@todo for structs, we have to check the number of arguments to be equal to the
// number of non-mapping members
if (m_arguments.size() != 1)
- BOOST_THROW_EXCEPTION(createTypeError("More than one argument for "
- "explicit type conersion."));
+ BOOST_THROW_EXCEPTION(createTypeError("More than one argument for explicit type conversion."));
if (!m_arguments.front()->getType()->isExplicitlyConvertibleTo(*type.getActualType()))
BOOST_THROW_EXCEPTION(createTypeError("Explicit type conversion not allowed."));
m_type = type.getActualType();