diff options
author | 2016-08-17 10:30:00 +0200 | |
---|---|---|
committer | 2016-08-17 10:49:43 +0200 | |
commit | bc7ffd368789cb82bb8fc8b642b3de870b92c897 (patch) | |
tree | ff1bbb6b16662e4471d3f42bf7251c30dd5823ec /tactics/equality.ml | |
parent | 979b7cbba63f6c033bab40ad5c552572ab5d7d71 (diff) |
Fixing #3070 ("subst" taking properly into account chains of dependencies).
Diffstat (limited to 'tactics/equality.ml')
-rw-r--r-- | tactics/equality.ml | 2 |
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 |