mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Improve error message for constant evaluator
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user