aboutsummaryrefslogtreecommitdiff
path: root/proofs/refine.ml
diff options
context:
space:
mode:
authorMaxime Dénès2019-12-17 11:16:49 +0100
committerMaxime Dénès2019-12-17 11:16:49 +0100
commit7cf4ba4026e8ffd27684a9685b2972f30d2308de (patch)
treed71bd065d33faec6cfa99241ff1d63e5e6b5219d /proofs/refine.ml
parent82918ec41ccab3b1623e41139b448938f4760a80 (diff)
parent40323e4258d5232226d0be277f53bb5462bac417 (diff)
Merge PR #10762: Fix refine and eapply to mark shelved goals as non-resolvable, always
Reviewed-by: Zimmi48 Reviewed-by: maximedenes
Diffstat (limited to 'proofs/refine.ml')
-rw-r--r--proofs/refine.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/proofs/refine.ml b/proofs/refine.ml
index dd8b52e56c..ea42218aaa 100644
--- a/proofs/refine.ml
+++ b/proofs/refine.ml
@@ -94,6 +94,7 @@ let generic_refine ~typecheck f gl =
in
(* Mark goals *)
let sigma = Proofview.Unsafe.mark_as_goals sigma comb in
+ let sigma = Proofview.Unsafe.mark_unresolvables sigma shelf in
let comb = CList.map (fun x -> Proofview.goal_with_state x state) comb in
let trace env sigma = Pp.(hov 2 (str"simple refine"++spc()++
Termops.Internal.print_constr_env env sigma c)) in