mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Stylistic changes.
This commit is contained in:
parent
627c80f0a8
commit
e0ba1c79db
@ -372,9 +372,7 @@ void ExpressionCompiler::appendTypeConversion(Type const& _typeOnStack, Type con
|
||||
if (_typeOnStack == _targetType && !_cleanupNeeded)
|
||||
return;
|
||||
if (_typeOnStack.getCategory() == Type::Category::INTEGER)
|
||||
{
|
||||
appendHighBitsCleanup(dynamic_cast<IntegerType const&>(_typeOnStack));
|
||||
}
|
||||
else if (_typeOnStack != _targetType)
|
||||
{
|
||||
// All other types should not be convertible to non-equal types.
|
||||
|
Loading…
Reference in New Issue
Block a user