aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsozeau2010-07-28 17:55:35 +0000
committermsozeau2010-07-28 17:55:35 +0000
commitc743a5a6e5fb689c25202c635128ebc812c046df (patch)
tree3e8a6886bcf7e320b4e64aa6f1216c0c005a2aa8
parentd5bd62a0be614b6f55f061d6e6cdef97d52cc19e (diff)
Fix bug #2209, don't use the fragile argument name "y" to pass the
missing argument to a transitivity call. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13347 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--tactics/rewrite.ml43
1 files changed, 1 insertions, 2 deletions
diff --git a/tactics/rewrite.ml4 b/tactics/rewrite.ml4
index 6a81f9ada9..c792367c3b 100644
--- a/tactics/rewrite.ml4
+++ b/tactics/rewrite.ml4
@@ -1648,8 +1648,7 @@ let setoid_transitivity c gl =
let proof = get_transitive_proof env evm car rel in
match c with
| None -> eapply proof
- | Some c ->
- apply_with_bindings (proof,Rawterm.ExplicitBindings [ dummy_loc, Rawterm.NamedHyp (id_of_string "y"), c ]))
+ | Some c -> apply_with_bindings (proof,Rawterm.ImplicitBindings [ c ]))
(transitivity_red true c)
let setoid_symmetry_in id gl =