aboutsummaryrefslogtreecommitdiff
path: root/kernel/typeops.ml
diff options
context:
space:
mode:
authorfilliatr1999-12-07 09:23:34 +0000
committerfilliatr1999-12-07 09:23:34 +0000
commit59263ca55924e2f43097ae2296f541b153981bf8 (patch)
treefaae53835f16e3efc616e6a1dfadddb3d3d4531a /kernel/typeops.ml
parent8e1c1ee13bbcab295a92928557515b4239e4bc46 (diff)
correction bug construct_reference
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@219 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/typeops.ml')
-rw-r--r--kernel/typeops.ml7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/typeops.ml b/kernel/typeops.ml
index a12c6803ad..255e8d7aa5 100644
--- a/kernel/typeops.ml
+++ b/kernel/typeops.ml
@@ -74,13 +74,6 @@ let hyps_inclusion env sigma (idl1,tyl1) (idl2,tyl2) =
(* Checks if the given context of variables [hyps] is included in the
current context of [env]. *)
-let construct_reference id env sigma hyps =
- let hyps' = var_context env in
- if hyps_inclusion env sigma hyps hyps' then
- Array.of_list (List.map (fun id -> VAR id) (ids_of_sign hyps))
- else
- error_reference_variables CCI env id
-
let check_hyps id env sigma hyps =
let hyps' = var_context env in
if not (hyps_inclusion env sigma hyps hyps') then