chore(library/tactic/unfold_tactic): fix style

This commit is contained in:
Leonardo de Moura 2016-07-18 20:20:54 -04:00
parent ceba74f24e
commit ed73dafa48

View file

@ -335,7 +335,7 @@ class unfold_rec_fn : public replace_visitor_aux {
expr const new_head = get_app_fn(new_e);
// TODO(Leo): create an option for the following conditions?
if (is_constant(new_head) && inductive::is_elim_rule(m_env, const_name(new_head))) {
//head is a recursor... so the unfold is probably not generating a nice result...
// head is a recursor... so the unfold is probably not generating a nice result...
throw fold_failed();
}
return fold_rec_fn(m_ctx, fn, args, k, rec_name, indices_pos, main_pos, rec_arg_pos)(new_e);