From e7ed9d878e80e53da9d4cc603e6527918c5a432a Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 12 Dec 2017 10:45:40 +0100 Subject: Re-use `commonType` --- libsolidity/analysis/ConstantEvaluator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsolidity') 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() : - left->binaryOperatorResult(_operation.getOperator(), right) + commonType ); } } -- cgit