fix(library/tactic/exact_tactic): do not report unassigned metavariables in the 'refine' tactic
This commit is contained in:
parent
87aaf373f4
commit
3c8c75470f
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ tactic exact_tactic(elaborate_fn const & elab, expr const & e, bool enforce_type
|
||||||
return none_proof_state();
|
return none_proof_state();
|
||||||
}
|
}
|
||||||
expr t = head(gs).get_type();
|
expr t = head(gs).get_type();
|
||||||
bool report_unassigned = enforce_type_during_elaboration;
|
bool report_unassigned = !allow_metavars && enforce_type_during_elaboration;
|
||||||
optional<expr> new_e;
|
optional<expr> new_e;
|
||||||
try {
|
try {
|
||||||
new_e = elaborate_with_respect_to(env, ios, elab, new_s, e, some_expr(t),
|
new_e = elaborate_with_respect_to(env, ios, elab, new_s, e, some_expr(t),
|
||||||
|
|
Loading…
Reference in a new issue