diff options
Diffstat (limited to 'CompilerUtils.cpp')
-rw-r--r-- | CompilerUtils.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CompilerUtils.cpp b/CompilerUtils.cpp index b6d79733..b5dcfdc2 100644 --- a/CompilerUtils.cpp +++ b/CompilerUtils.cpp @@ -411,7 +411,13 @@ void CompilerUtils::convertType(Type const& _typeOnStack, Type const& _targetTyp break; } default: - solAssert(false, "Invalid type conversion requested."); + solAssert(false, + "Invalid type conversion " + + _typeOnStack.toString(false) + + " to " + + _targetType.toString(false) + + " requested." + ); } break; } |