aboutsummaryrefslogtreecommitdiff
path: root/ide
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-09-01 20:51:08 +0200
committerPierre-Marie Pédrot2020-09-01 20:51:08 +0200
commit8666b46353c1f2c751bb5b6d4e1012783d107ae4 (patch)
treebe0d256f863dc7ecf1cd2dbbb510c7622282ad24 /ide
parent0d30f79268fea18ef99c040a859956f61c3d978a (diff)
parent636fe1deaf220f1c30821846343b3a70ef7a078c (diff)
Merge PR #12872: Unify the shelves
Reviewed-by: SkySkimmer Reviewed-by: gares Ack-by: mattam82 Reviewed-by: ppedrot
Diffstat (limited to 'ide')
-rw-r--r--ide/coqide/idetop.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ide/coqide/idetop.ml b/ide/coqide/idetop.ml
index 751bddc7c4..ad21f663e4 100644
--- a/ide/coqide/idetop.ml
+++ b/ide/coqide/idetop.ml
@@ -220,11 +220,11 @@ let process_goal_diffs diff_goal_map oldp nsigma ng =
let (hyps_pp_list, concl_pp) = Proof_diffs.diff_goal_ide og_s ng nsigma in
{ Interface.goal_hyp = hyps_pp_list; Interface.goal_ccl = concl_pp; Interface.goal_id = Goal.uid ng }
-let export_pre_goals Proof.{ sigma; goals; stack; shelf } process =
+let export_pre_goals Proof.{ sigma; goals; stack } process =
let process = List.map (process sigma) in
{ Interface.fg_goals = process goals
; Interface.bg_goals = List.(map (fun (lg,rg) -> process lg, process rg)) stack
- ; Interface.shelved_goals = process shelf
+ ; Interface.shelved_goals = process @@ Evd.shelf sigma
; Interface.given_up_goals = process (Evar.Set.elements @@ Evd.given_up sigma)
}