3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

fix bugs exposed by Chris' sequence unit tests. Improve diagnostics for reason-unknown in combined solver

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-01-28 08:50:13 -08:00
parent 512aa0e8d3
commit b352d43e50
3 changed files with 11 additions and 7 deletions

View file

@ -1048,6 +1048,7 @@ sort* basic_decl_plugin::join(sort* s1, sort* s2) {
return s2;
}
std::ostringstream buffer;
SASSERT(false);
buffer << "Sorts " << mk_pp(s1, *m_manager) << " and " << mk_pp(s2, *m_manager) << " are incompatible";
throw ast_exception(buffer.str().c_str());
}