aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r--libsolidity/analysis/ConstantEvaluator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/ConstantEvaluator.cpp b/libsolidity/analysis/ConstantEvaluator.cpp
index 14171b01..83f37f47 100644
--- a/libsolidity/analysis/ConstantEvaluator.cpp
+++ b/libsolidity/analysis/ConstantEvaluator.cpp
@@ -56,7 +56,7 @@ void ConstantEvaluator::endVisit(BinaryOperation const& _operation)
_operation,
Token::isCompareOp(_operation.getOperator()) ?
make_shared<BoolType>() :
- left->binaryOperatorResult(_operation.getOperator(), right)
+ commonType
);
}
}