aboutsummaryrefslogtreecommitdiff
path: root/proofs/proof.ml
diff options
context:
space:
mode:
authorMatthieu Sozeau2019-09-12 11:41:28 +0200
committerMatthieu Sozeau2019-12-14 12:21:20 +0100
commit40323e4258d5232226d0be277f53bb5462bac417 (patch)
treee0d8baa2ba8a0f4bd4695c1c0703b3c243b906c0 /proofs/proof.ml
parentdd47dfc29f4b38dd2b1745ecbf452c3cd459b89b (diff)
Fix refine and eapply to mark shelved goals as non-resolvable, always
Check that we don't regress on PR #10762 example Fix regression discovered by Arthur in PR #10762 Fix script of #10298 which was relying on breaking semantics for `eapply` Add doc Add comment in clenvtac Actually, always mark shelved goals as unresolvable Update doc to reflect semantics w.r.t. shelved subgoals
Diffstat (limited to 'proofs/proof.ml')
-rw-r--r--proofs/proof.ml7
1 files changed, 1 insertions, 6 deletions
diff --git a/proofs/proof.ml b/proofs/proof.ml
index 2ee006631a..e9f93d0c8f 100644
--- a/proofs/proof.ml
+++ b/proofs/proof.ml
@@ -386,12 +386,7 @@ let run_tactic env tac pr =
let sigma = Proofview.return proofview in
let to_shelve = undef sigma to_shelve in
let shelf = (undef sigma pr.shelf)@retrieved@to_shelve in
- let proofview =
- List.fold_left
- Proofview.Unsafe.mark_as_unresolvable
- proofview
- to_shelve
- in
+ let proofview = Proofview.Unsafe.mark_as_unresolvables proofview to_shelve in
let given_up = pr.given_up@give_up in
let proofview = Proofview.Unsafe.reset_future_goals proofview in
{ pr with proofview ; shelf ; given_up },(status,info_trace),result