diff options
| author | herbelin | 2010-06-14 11:53:55 +0000 |
|---|---|---|
| committer | herbelin | 2010-06-14 11:53:55 +0000 |
| commit | 1d0e61fe25ffaec80bcc175df94797d8a9fdc868 (patch) | |
| tree | 1f1189c97e04d7e30e0cb14c3f90ea42ee794d9b /plugins/funind/rawterm_to_relation.ml | |
| parent | b570e389ed7e8765bc61642a94633ce64140c5ed (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/rawterm_to_relation.ml')
| -rw-r--r-- | plugins/funind/rawterm_to_relation.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/funind/rawterm_to_relation.ml b/plugins/funind/rawterm_to_relation.ml index 3c3a36f037..5d282a5cb2 100644 --- a/plugins/funind/rawterm_to_relation.ml +++ b/plugins/funind/rawterm_to_relation.ml @@ -1225,7 +1225,7 @@ let do_build_inductive let env = Array.fold_right (fun id env -> - Environ.push_named (id,None,Typing.type_of env Evd.empty (Tacinterp.constr_of_id env id)) env + Environ.push_named (id,None,Typing.type_of env Evd.empty (Constrintern.global_reference id)) env ) funnames (Global.env ()) |
