From d2c50bb29df8f0b23f7ee498abeda43a672fc688 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Wed, 6 Dec 2017 08:58:50 +0100 Subject: Proof engine: consider the pair principal and future goals as an entity. --- tactics/class_tactics.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tactics') diff --git a/tactics/class_tactics.ml b/tactics/class_tactics.ml index 9f66248897..f386e804e0 100644 --- a/tactics/class_tactics.ml +++ b/tactics/class_tactics.ml @@ -983,7 +983,7 @@ module Search = struct (str "leaking evar " ++ int (Evar.repr ev) ++ spc () ++ pr_ev evm' ev); acc && okev) evm' true); - let evm' = Evd.restore_future_goals evm' (shelved @ fgoals) pgoal in + let evm' = Evd.restore_future_goals evm' (shelved @ fgoals, pgoal) in let evm' = evars_reset_evd ~with_conv_pbs:true ~with_univs:false evm' evm in Some evm' else raise Not_found -- cgit v1.2.3