diff options
author | Christian <c@ethdev.com> | 2015-01-28 20:39:04 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-28 20:39:04 +0800 |
commit | 95d8d7b1f00d3521d20a3735472e359d03d71816 (patch) | |
tree | 0662c5bed06b9cdffae7bc90d1f9466534f59c9c /AST.cpp | |
parent | 34d07fc5837745ee3c8fbc571d0e2f0d02041cf1 (diff) | |
download | dexon-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.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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(); |