diff options
author | 2016-03-23 16:03:47 +0100 | |
---|---|---|
committer | 2016-03-23 16:03:47 +0100 | |
commit | a0e792236c9666df1069753f8f807c12f713dcfb (patch) | |
tree | 78ea32353263cb936730ef46c509752e8d1b549f /proofs/proofview.ml | |
parent | 2e557589920156fe84335e72c5e765347bcc7c9c (diff) |
refine: do check all unif problems are solved (Close: #4415, #4532)
This fixes a class of bugs like
refine foo; tactic.
where tactic fails (by resuming the remaining, unsolvable, problems) while
in 8.4 refine was failing.
It is not clear to us (Maxime and myself) if we should call
consider_remaining_unif_problems instead of check_problems_are_solved.
Diffstat (limited to 'proofs/proofview.ml')
-rw-r--r-- | proofs/proofview.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/proofs/proofview.ml b/proofs/proofview.ml index 6d7dcb925..80569e234 100644 --- a/proofs/proofview.ml +++ b/proofs/proofview.ml @@ -1061,6 +1061,7 @@ struct let typecheck_proof c concl env sigma = let evdref = ref sigma in let () = Typing.check env evdref c concl in + Evarconv.check_problems_are_solved env !evdref; !evdref let (pr_constrv,pr_constr) = |