From b49f1fc6d92189a5b9e985042e8d0d07ee0d5220 Mon Sep 17 00:00:00 2001 From: herbelin Date: Sun, 28 May 2006 16:46:48 +0000 Subject: - Indtypes: en attente opinion CoRN, les occurrences de Type non explicites (i.e. cachées sous un nom de constante) sont considérées comme monomorphes. - Divers: renommage type_of_applied_inductive, un peu de documentation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8871 85f007b7-540e-0410-9357-904b9bb8a0f7 --- pretyping/pretyping.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pretyping/pretyping.ml') diff --git a/pretyping/pretyping.ml b/pretyping/pretyping.ml index 01841641c..d1d30980b 100644 --- a/pretyping/pretyping.ml +++ b/pretyping/pretyping.ml @@ -415,7 +415,7 @@ module Pretyping_F (Coercion : Coercion.S) = struct match kind_of_term resj.uj_val with | App (f,args) when isInd f -> let sigma = evars_of !isevars in - let t = Retyping.type_of_applied_inductive env sigma (destInd f) args in + let t = Retyping.type_of_inductive_knowing_parameters env sigma (destInd f) args in let s = snd (splay_arity env sigma t) in on_judgment_type (set_inductive_level env s) resj (* Rem: no need to send sigma: no head evar, it's an arity *) -- cgit v1.2.3