Skip to content

Commit

Permalink
fix #4120
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Apr 27, 2020
1 parent 4938ea7 commit 8996e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ast/rewriter/recfun_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ br_status recfun_rewriter::mk_app_core(func_decl * f, unsigned num_args, expr *
return BR_FAILED;
}
recfun::def const& d = m_rec.get_def(f);
if (!d.get_rhs())
return BR_FAILED;
var_subst sub(m);
result = sub(d.get_rhs(), num_args, args);
return BR_REWRITE_FULL;
Expand Down

0 comments on commit 8996e81

Please sign in to comment.