mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Using solUnimplementedAssert instead of solAssert when applicable
This commit is contained in:
parent
f925747050
commit
78ba34608f
@ -468,7 +468,7 @@ void SMTChecker::compareOperation(BinaryOperation const& _op)
|
||||
}
|
||||
else // Bool
|
||||
{
|
||||
solAssert(SSAVariable::isBool(_op.annotation().commonType->category()), "");
|
||||
solUnimplementedAssert(SSAVariable::isBool(_op.annotation().commonType->category()), "Operation not yet supported");
|
||||
value = make_shared<smt::Expression>(
|
||||
op == Token::Equal ? (left == right) :
|
||||
op == Token::NotEqual ? (left != right) :
|
||||
@ -839,7 +839,7 @@ void SMTChecker::createExpr(Expression const& _e)
|
||||
m_expressions.emplace(&_e, m_interface->newBool(uniqueSymbol(_e)));
|
||||
break;
|
||||
default:
|
||||
solAssert(false, "Type not implemented.");
|
||||
solUnimplementedAssert(false, "Type not implemented.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user