diff options
author | 2000-04-20 15:51:40 +0000 | |
---|---|---|
committer | 2000-04-20 15:51:40 +0000 | |
commit | a002d6ef127b4f0103012c23fc5d272739649043 (patch) | |
tree | 99c7ba136ce8488d2086290b3ff18fe91cdf6073 /pretyping/coercion.ml | |
parent | b8cd60cf1b3817a1802459310e79a8addb628ee7 (diff) |
Abstraction du type typed_type (un pas vers les jugements 2 niveaux)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@362 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/coercion.ml')
-rw-r--r-- | pretyping/coercion.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pretyping/coercion.ml b/pretyping/coercion.ml index 15945dd45..15577dd9e 100644 --- a/pretyping/coercion.ml +++ b/pretyping/coercion.ml @@ -91,8 +91,7 @@ let inh_tosort env isevars j = let inh_ass_of_j env isevars j = let typ = whd_betadeltaiota env !isevars j.uj_type in match typ with - | DOP0(Sort s) -> - { body = j.uj_val; typ = s } + | DOP0(Sort s) -> make_typed j.uj_val s | _ -> let j1 = inh_tosort_force env isevars j in assumption_of_judgment env !isevars j1 |