3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

replace old mk_value behaviour in theory_str that creates placeholders for unused terms instead of crashing

This commit is contained in:
Murphy Berzish 2016-07-07 16:13:48 -04:00
parent 9eead64d03
commit 847a5fc1f8

View file

@ -6844,8 +6844,7 @@ model_value_proc * theory_str::mk_value(enode * n, model_generator & mg) {
TRACE("t_str", tout << "WARNING: failed to find a concrete value, falling back" << std::endl;);
// TODO make absolutely sure the reason we can't find a concrete value is because of an unassigned temporary
// e.g. for an expression like (Concat X $$_str0)
//return alloc(expr_wrapper_proc, m_strutil.mk_string("**UNUSED**"));
NOT_IMPLEMENTED_YET();
return alloc(expr_wrapper_proc, m_strutil.mk_string("**UNUSED**"));
}
}