3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

remove string conversion causing regression

This commit is contained in:
Nikolaj Bjorner 2021-02-03 21:40:45 -08:00
parent abcabba9fe
commit b3144a534d

View file

@ -1100,10 +1100,6 @@ def _coerce_expr_merge(s, a):
if z3_debug():
_z3_assert(s1.ctx == s.ctx, "context mismatch")
_z3_assert(False, "sort mismatch")
elif s is not None:
return s
elif isinstance(a, str):
return StringSort()
else:
return s