Skip to content

Commit

Permalink
Merge pull request ethereum#3922 from ethereum/smt_sol_unimplementeda…
Browse files Browse the repository at this point in the history
…ssert

[SMTChecker] Using solUnimplementedAssert instead of solAssert
  • Loading branch information
axic authored Apr 18, 2018
2 parents cd17c37 + 78ba346 commit 377254d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsolidity/formal/SMTChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) :
Expand Down Expand Up @@ -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.");
}
}
}
Expand Down

0 comments on commit 377254d

Please sign in to comment.