mirror of
https://github.com/Z3Prover/z3
synced 2025-06-29 09:28:45 +00:00
fix #6615
make rewriting exception safe (for cancelation). The state during restart in smt_context is not exception safe.
This commit is contained in:
parent
027770930e
commit
46d37b6e30
2 changed files with 30 additions and 6 deletions
|
@ -1237,7 +1237,7 @@ namespace seq {
|
|||
seq.str.is_string(x)) {
|
||||
expr_ref len(n, m);
|
||||
m_rewrite(len);
|
||||
SASSERT(n != len);
|
||||
SASSERT(m.limit().is_canceled() || n != len);
|
||||
add_clause(mk_eq(len, n));
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue