diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-22 20:33:11 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-12 17:39:26 +0800 |
commit | 5226d54ed16bb7247c64ac67fec786301a3210ec (patch) | |
tree | bed3f42a8f7e8315db852664b2f33495c173c553 /libsolidity/ast | |
parent | 45d0992ce8dc3b3eb581e76d2c1fb2fbeabe3cfe (diff) | |
download | dexon-solidity-5226d54ed16bb7247c64ac67fec786301a3210ec.tar.gz dexon-solidity-5226d54ed16bb7247c64ac67fec786301a3210ec.tar.zst dexon-solidity-5226d54ed16bb7247c64ac67fec786301a3210ec.zip |
Improve error message for constant evaluator
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/Types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h index 635279ab..a54e4e09 100644 --- a/libsolidity/ast/Types.h +++ b/libsolidity/ast/Types.h @@ -257,7 +257,7 @@ public: } virtual u256 literalValue(Literal const*) const { - solAssert(false, "Literal value requested for type without literals."); + solAssert(false, "Literal value requested for type without literals: " + toString(false)); } /// @returns a (simpler) type that is encoded in the same way for external function calls. |