mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
z3str3: fail early on non-string sequence terms
This commit is contained in:
parent
d70b63c8ac
commit
fe7a7fe23f
|
@ -8483,6 +8483,10 @@ namespace smt {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (u.str.is_non_string_sequence(ex)) {
|
||||||
|
TRACE("str", tout << "ERROR: Z3str3 does not support non-string sequence terms. Aborting." << std::endl;);
|
||||||
|
m.raise_exception("Z3str3 does not support non-string sequence terms.");
|
||||||
|
}
|
||||||
TRACE("str", tout << "setting up axioms for " << mk_ismt2_pp(ex, get_manager()) <<
|
TRACE("str", tout << "setting up axioms for " << mk_ismt2_pp(ex, get_manager()) <<
|
||||||
": expr is of wrong sort, ignoring" << std::endl;);
|
": expr is of wrong sort, ignoring" << std::endl;);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue