mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
codegen: add a missing break;
This commit is contained in:
parent
68e7763387
commit
1ff67b492a
@ -666,6 +666,7 @@ void CompilerUtils::convertType(Type const& _typeOnStack, Type const& _targetTyp
|
||||
solAssert(_targetType == _typeOnStack, "Invalid conversion for bool.");
|
||||
if (_cleanupNeeded)
|
||||
m_context << Instruction::ISZERO << Instruction::ISZERO;
|
||||
break;
|
||||
default:
|
||||
// All other types should not be convertible to non-equal types.
|
||||
solAssert(_typeOnStack == _targetType, "Invalid type conversion requested.");
|
||||
|
Loading…
Reference in New Issue
Block a user