mirror of
https://github.com/Z3Prover/z3
synced 2025-08-12 22:20:54 +00:00
fix #4155
This commit is contained in:
parent
815feddd1a
commit
fa1197a78f
2 changed files with 7 additions and 1 deletions
|
@ -26,6 +26,8 @@ br_status recfun_rewriter::mk_app_core(func_decl * f, unsigned num_args, expr *
|
|||
if (!m.is_value(args[i]))
|
||||
return BR_FAILED;
|
||||
}
|
||||
if (!m_rec.has_def(f))
|
||||
return BR_FAILED;
|
||||
recfun::def const& d = m_rec.get_def(f);
|
||||
if (!d.get_rhs())
|
||||
return BR_FAILED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue