mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disallow unknown operators.
This commit is contained in:
parent
6bd09ba9d5
commit
f940e1f9e7
@ -202,7 +202,10 @@ void BooleanLPSolver::addAssertion(Expression const& _expr)
|
||||
else if (_expr.name == ">")
|
||||
addAssertion(_expr.arguments.at(1) < _expr.arguments.at(0));
|
||||
else
|
||||
{
|
||||
cout << "Unknown operator " << _expr.name << endl;
|
||||
solAssert(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user