mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Removed superfluous braces.
This commit is contained in:
parent
6c2e3ffd76
commit
d9decb8f1d
@ -374,10 +374,8 @@ void ExpressionCompiler::appendTypeConversion(Type const& _typeOnStack, Type con
|
|||||||
if (_typeOnStack.getCategory() == Type::Category::INTEGER)
|
if (_typeOnStack.getCategory() == Type::Category::INTEGER)
|
||||||
appendHighBitsCleanup(dynamic_cast<IntegerType const&>(_typeOnStack));
|
appendHighBitsCleanup(dynamic_cast<IntegerType const&>(_typeOnStack));
|
||||||
else if (_typeOnStack != _targetType)
|
else if (_typeOnStack != _targetType)
|
||||||
{
|
|
||||||
// All other types should not be convertible to non-equal types.
|
// All other types should not be convertible to non-equal types.
|
||||||
BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Invalid type conversion requested."));
|
BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Invalid type conversion requested."));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExpressionCompiler::appendHighBitsCleanup(IntegerType const& _typeOnStack)
|
void ExpressionCompiler::appendHighBitsCleanup(IntegerType const& _typeOnStack)
|
||||||
|
Loading…
Reference in New Issue
Block a user