Re-added some changes lost in merges.

This commit is contained in:
Christian
2014-11-06 22:04:10 +01:00
parent e0ba1c79db
commit d3215fb4a6
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -376,8 +376,7 @@ void ExpressionCompiler::appendTypeConversion(Type const& _typeOnStack, Type con
else if (_typeOnStack != _targetType)
{
// All other types should not be convertible to non-equal types.
assert(!_typeOnStack.isExplicitlyConvertibleTo(_targetType));
assert(false);
BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Invalid type conversion requested."));
}
}