aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind/merge.ml
diff options
context:
space:
mode:
authorherbelin2010-06-14 11:53:55 +0000
committerherbelin2010-06-14 11:53:55 +0000
commit1d0e61fe25ffaec80bcc175df94797d8a9fdc868 (patch)
tree1f1189c97e04d7e30e0cb14c3f90ea42ee794d9b /plugins/funind/merge.ml
parentb570e389ed7e8765bc61642a94633ce64140c5ed (diff)
Fixed commit 13125 (stricter check of induction args): an interpretation
checking function was used instead of a test of existence in the context. Also restricted constr_of_id which had no reason to interpret a posteriori an already interpreted identifier as a global reference. Consequently adapted funind. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13135 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/funind/merge.ml')
-rw-r--r--plugins/funind/merge.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/funind/merge.ml b/plugins/funind/merge.ml
index ccc37046f9..1cf74025ab 100644
--- a/plugins/funind/merge.ml
+++ b/plugins/funind/merge.ml
@@ -129,7 +129,7 @@ let prNamedRLDecl s lc =
end
let showind (id:identifier) =
- let cstrid = Tacinterp.constr_of_id (Global.env()) id in
+ let cstrid = Constrintern.global_reference id in
let ind1,cstrlist = Inductiveops.find_inductive (Global.env()) Evd.empty cstrid in
let mib1,ib1 = Inductive.lookup_mind_specif (Global.env()) ind1 in
List.iter (fun (nm, optcstr, tp) ->