3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 03:15:50 +00:00

fix #3967 regression from using rewriter mode that splits strings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-15 10:36:33 -07:00
parent 79a2b52de0
commit 068f65c8ac

View file

@ -4320,6 +4320,7 @@ public:
dependency* deps = nullptr;
expr_ref tmp(th.m);
if (!th.canonize(m_strings[k], deps, tmp)) tmp = m_strings[k];
th.m_str_rewrite(tmp);
zstring zs;
if (th.m_util.str.is_string(tmp, zs)) {
add_buffer(sbuffer, zs);