diff options
author | 2011-07-29 14:24:58 +0000 | |
---|---|---|
committer | 2011-07-29 14:24:58 +0000 | |
commit | c2d365117bc779b77e43ad150e9db7189b76b3a8 (patch) | |
tree | 946e64802bf6d1144d4b37adc38cbc3cd119545b /tactics/tactics.ml | |
parent | 13b78f7cad3cf38ff7c3083494e680a695a54d79 (diff) |
Tactics: generic equality on constr replaced by eq_constr
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14321 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/tactics.ml')
-rw-r--r-- | tactics/tactics.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml index 6b67a6d60..3ad89c825 100644 --- a/tactics/tactics.ml +++ b/tactics/tactics.ml @@ -2710,8 +2710,9 @@ let compute_scheme_signature scheme names_info ind_type_guess = let ccl_arg_ok = is_pred (p + scheme.nargs + 1) f = IndArg in let ind_is_ok = - list_lastn scheme.nargs indargs - = extended_rel_list 0 scheme.args in + list_equal eq_constr + (list_lastn scheme.nargs indargs) + (extended_rel_list 0 scheme.args) in if not (ccl_arg_ok & ind_is_ok) then error_ind_scheme "the conclusion of"; [] |