aboutsummaryrefslogtreecommitdiff
path: root/kernel/typeops.ml
diff options
context:
space:
mode:
authorherbelin2001-11-20 14:38:21 +0000
committerherbelin2001-11-20 14:38:21 +0000
commit52c0bf0da05bcfce49ce5c8321e8b9ed7b3a1cb5 (patch)
tree8222d00a63e6ab08d8f5eac3d8fce7a29083a43c /kernel/typeops.ml
parent2ba5fc92551cfe9632ad01a5ae52aa7c7d0241f6 (diff)
types vs constr
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2210 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/typeops.ml')
-rw-r--r--kernel/typeops.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/typeops.ml b/kernel/typeops.ml
index 603e909bd4..6556b0c764 100644
--- a/kernel/typeops.ml
+++ b/kernel/typeops.ml
@@ -48,11 +48,11 @@ let assumption_of_judgment env j
(* Prop and Set *)
let judge_of_prop =
- { uj_val = mkProp;
+ { uj_val = body_of_type mkProp;
uj_type = mkSort type_0 }
let judge_of_set =
- { uj_val = mkSet;
+ { uj_val = body_of_type mkSet;
uj_type = mkSort type_0 }
let judge_of_prop_contents = function
@@ -63,7 +63,7 @@ let judge_of_prop_contents = function
let judge_of_type u =
let uu = super u in
- { uj_val = mkType u;
+ { uj_val = body_of_type (mkType u);
uj_type = mkType uu }
(*s Type of a de Bruijn index. *)