Improve error message for constant evaluator

This commit is contained in:
Alex Beregszaszi
2017-12-12 09:39:26 +00:00
parent 45d0992ce8
commit 5226d54ed1
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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.