mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5568 from ethereum/smt_remove_unary_plus
[SMTChecker] Remove unary plus operator
This commit is contained in:
commit
5897b14d63
@ -323,9 +323,6 @@ void SMTChecker::endVisit(UnaryOperation const& _op)
|
||||
);
|
||||
break;
|
||||
}
|
||||
case Token::Add: // +
|
||||
defineExpr(_op, expr(_op.subExpression()));
|
||||
break;
|
||||
case Token::Sub: // -
|
||||
{
|
||||
defineExpr(_op, 0 - expr(_op.subExpression()));
|
||||
|
Loading…
Reference in New Issue
Block a user