aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-02-25 23:00:23 +0800
committerChristian <c@ethdev.com>2015-02-25 23:22:30 +0800
commit66b6860eb88c027244abd75393f59b6b68268f6e (patch)
treedbcd3d8d6d988bc42f90f3ea97791143b439d39b /ExpressionCompiler.cpp
parent29c614ebaf551006bc6c028592917e8f0dd5cf96 (diff)
downloaddexon-solidity-66b6860eb88c027244abd75393f59b6b68268f6e.tar.gz
dexon-solidity-66b6860eb88c027244abd75393f59b6b68268f6e.tar.zst
dexon-solidity-66b6860eb88c027244abd75393f59b6b68268f6e.zip
Stylistic changes.
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index 67686df1..430e46b0 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -153,8 +153,9 @@ void ExpressionCompiler::appendTypeConversion(Type const& _typeOnStack, Type con
else if (stackTypeCategory == Type::Category::Enum)
solAssert(targetTypeCategory == Type::Category::Integer ||
targetTypeCategory == Type::Category::Enum, "");
- else if (stackTypeCategory == Type::Category::Integer || stackTypeCategory == Type::Category::Contract ||
- stackTypeCategory == Type::Category::IntegerConstant)
+ else if (stackTypeCategory == Type::Category::Integer ||
+ stackTypeCategory == Type::Category::Contract ||
+ stackTypeCategory == Type::Category::IntegerConstant)
{
if (targetTypeCategory == Type::Category::String && stackTypeCategory == Type::Category::Integer)
{