mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove unary plus.
This commit is contained in:
@@ -220,8 +220,6 @@ optional<rational> ConstantEvaluator::evaluateUnaryOperator(Token _operator, rat
|
||||
return nullopt;
|
||||
else
|
||||
return ~_input.numerator();
|
||||
case Token::Add:
|
||||
return +_input;
|
||||
case Token::Sub:
|
||||
return -_input;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user