aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/equality.ml
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-08-17 10:30:00 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-08-17 10:49:43 +0200
commitbc7ffd368789cb82bb8fc8b642b3de870b92c897 (patch)
treeff1bbb6b16662e4471d3f42bf7251c30dd5823ec /tactics/equality.ml
parent979b7cbba63f6c033bab40ad5c552572ab5d7d71 (diff)
Fixing #3070 ("subst" taking properly into account chains of dependencies).
Diffstat (limited to 'tactics/equality.ml')
-rw-r--r--tactics/equality.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml
index 4aa7ffa7b..2c97cf442 100644
--- a/tactics/equality.ml
+++ b/tactics/equality.ml
@@ -1691,7 +1691,7 @@ let subst_one dep_proof_ok x (hyp,rhs,dir) =
&& List.exists (fun y -> occur_var_in_decl env y dcl) deps
then
let id_dest = if !regular_subst_tactic then dest else MoveLast in
- (dest,(if is_local_assum dcl then deps else id::deps), (id_dest,id)::allhyps)
+ (dest,id::deps,(id_dest,id)::allhyps)
else
(MoveBefore id,deps,allhyps))
hyps