aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpuech2011-07-29 14:25:28 +0000
committerpuech2011-07-29 14:25:28 +0000
commit8bb15cf06201f98356f8676a3a1c607151c2aec6 (patch)
tree06f9a3d2cee83e469c522ecf39ae1086ff62c1dd
parent127c54da8e8eedd12c7584d4950ef37d26d6428c (diff)
Tactics: generic equality on constr replaced by eq_constr
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14326 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--tactics/tactics.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 3ad89c8254..dd0541fd07 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -2680,7 +2680,7 @@ let compute_scheme_signature scheme names_info ind_type_guess =
let is_pred n c =
let hd = fst (decompose_app c) in match kind_of_term hd with
| Rel q when n < q & q <= n+scheme.npredicates -> IndArg
- | _ when hd = indhd -> RecArg
+ | _ when eq_constr hd indhd -> RecArg
| _ -> OtherArg in
let rec check_branch p c = match kind_of_term c with
| Prod (_,t,c) ->