mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 12:58:44 +00:00
fix #5399
This commit is contained in:
parent
2973d3bdc1
commit
0f8d2d1d51
|
@ -1775,6 +1775,10 @@ br_status seq_rewriter::mk_seq_replace(expr* a, expr* b, expr* c, expr_ref& resu
|
|||
result = str().mk_concat(c, a);
|
||||
return BR_REWRITE1;
|
||||
}
|
||||
if (str().is_empty(a) && str().is_empty(c)) {
|
||||
result = a;
|
||||
return BR_DONE;
|
||||
}
|
||||
|
||||
m_lhs.reset();
|
||||
str().get_concat(a, m_lhs);
|
||||
|
|
Loading…
Reference in a new issue