diff options
author | liana <liana@ethdev.com> | 2015-01-24 01:09:46 +0800 |
---|---|---|
committer | liana <liana@ethdev.com> | 2015-01-24 01:09:46 +0800 |
commit | 3075fc598deebb17010c30f1d75eb170edaf83cd (patch) | |
tree | f89ad8918c2e584a98947ef710b2ceeba43477cc /ExpressionCompiler.cpp | |
parent | 5de93e6acb81b9a39c1e8f1772dde81d5131e7e3 (diff) | |
download | dexon-solidity-3075fc598deebb17010c30f1d75eb170edaf83cd.tar.gz dexon-solidity-3075fc598deebb17010c30f1d75eb170edaf83cd.tar.zst dexon-solidity-3075fc598deebb17010c30f1d75eb170edaf83cd.zip |
- corrected assert
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r-- | ExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp index 66ca2ec1..9d282c1c 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -683,7 +683,7 @@ void ExpressionCompiler::appendTypeConversion(Type const& _typeOnStack, Type con } else if (stackTypeCategory == Type::Category::STRING) { - solAssert(targetTypeCategory == Type::Category::STRING || targetTypeCategory == Type::Category::INTEGER, "Invalid type conversion requested."); + solAssert(targetTypeCategory == Type::Category::STRING, "Invalid type conversion requested."); // nothing to do, strings are high-order-bit-aligned //@todo clear lower-order bytes if we allow explicit conversion to shorter strings } |