feat(library/tactic/exact_tactic): do not force 'exact' tactic expression to be fully elaborated (i.e., metavariable free)

This commit is contained in:
Leonardo de Moura 2015-03-05 10:46:41 -08:00
parent 9d1660dfed
commit bd0f209659

View file

@ -20,7 +20,7 @@ tactic exact_tactic(elaborate_fn const & elab, expr const & e) {
return none_proof_state();
}
expr t = head(gs).get_type();
bool report_unassigned = true;
bool report_unassigned = false;
if (auto new_e = elaborate_with_respect_to(env, ios, elab, new_s, e, some_expr(t), report_unassigned)) {
goals const & gs = new_s.get_goals();
goal const & g = head(gs);