aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/Types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/Types.cpp')
-rw-r--r--libsolidity/Types.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/libsolidity/Types.cpp b/libsolidity/Types.cpp
index ebc7e1b2..d1c59ba5 100644
--- a/libsolidity/Types.cpp
+++ b/libsolidity/Types.cpp
@@ -697,8 +697,10 @@ bool ContractType::isImplicitlyConvertibleTo(Type const& _convertTo) const
bool ContractType::isExplicitlyConvertibleTo(Type const& _convertTo) const
{
- return isImplicitlyConvertibleTo(_convertTo) || _convertTo.category() == Category::Integer ||
- _convertTo.category() == Category::Contract;
+ return
+ isImplicitlyConvertibleTo(_convertTo) ||
+ _convertTo.category() == Category::Integer ||
+ _convertTo.category() == Category::Contract;
}
TypePointer ContractType::unaryOperatorResult(Token::Value _operator) const