aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpuech2011-07-29 14:27:01 +0000
committerpuech2011-07-29 14:27:01 +0000
commit5e4afc4cd404446701c5ede02041a3beec8d0975 (patch)
treecee4df5a968dcfe0f51d5534636f9ea0b3c4332b
parentb36a4fe2708d54c5bf973763610e0553c8bb8eb3 (diff)
Tactics: generic equality on constr replaced by eq_constr
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14341 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 dd0541fd07..1c1843a124 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -2646,7 +2646,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 = ind_type_guess & not scheme.farg_in_concl -> RecArg
+ | _ when eq_constr hd ind_type_guess & not scheme.farg_in_concl -> RecArg
| _ -> OtherArg in
let rec check_branch p c =
match kind_of_term c with