mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
parent
519c0d5f11
commit
b34f72dd00
1 changed files with 1 additions and 1 deletions
|
@ -1405,7 +1405,7 @@ class BoolSortRef(SortRef):
|
|||
return BoolVal(val, self.ctx)
|
||||
if z3_debug():
|
||||
if not is_expr(val):
|
||||
_z3_assert(is_expr(val), "True, False or Z3 Boolean expression expected. Received %s" % val)
|
||||
_z3_assert(is_expr(val), "True, False or Z3 Boolean expression expected. Received %s of type %s" % (val, type(val)))
|
||||
if not self.eq(val.sort()):
|
||||
_z3_assert(self.eq(val.sort()), "Value cannot be converted into a Z3 Boolean value")
|
||||
return val
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue