diff options
author | Christian <c@ethdev.com> | 2014-11-07 05:04:10 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-11-07 05:04:10 +0800 |
commit | d3215fb4a697e8e9962bf59f573fab309ab5ac18 (patch) | |
tree | 24939421ef08111fdc94f581fd0c9dcd73513a46 /AST.cpp | |
parent | e0ba1c79db652e71535cf56f842a23d14b217994 (diff) | |
download | dexon-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 " |