aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-11-07 05:04:10 +0800
committerChristian <c@ethdev.com>2014-11-07 05:04:10 +0800
commitd3215fb4a697e8e9962bf59f573fab309ab5ac18 (patch)
tree24939421ef08111fdc94f581fd0c9dcd73513a46 /AST.cpp
parente0ba1c79db652e71535cf56f842a23d14b217994 (diff)
downloaddexon-solidity-d3215fb4a697e8e9962bf59f573fab309ab5ac18.tar.gz
dexon-solidity-d3215fb4a697e8e9962bf59f573fab309ab5ac18.tar.zst
dexon-solidity-d3215fb4a697e8e9962bf59f573fab309ab5ac18.zip
Re-added some changes lost in merges.
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 e654dd57..e146318c 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -347,7 +347,7 @@ void ExpressionStatement::checkTypeRequirements()
void Expression::expectType(Type const& _expectedType)
{
checkTypeRequirements();
- const Type& type = *getType();
+ Type const& type = *getType();
if (!type.isImplicitlyConvertibleTo(_expectedType))
BOOST_THROW_EXCEPTION(createTypeError("Type " + type.toString() +
" not implicitly convertible to expected type "