diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2006-10-28 19:35:09 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2006-10-28 19:35:09 +0000 |
commit | 359e4ffe307d7d8dd250735373fc6354a58ecff5 (patch) | |
tree | 7204cb80cb272118a7ee60e9790d91d0efd11894 /kernel/term_typing.mli | |
parent | 8bcd34ae13010797a974b0f3c16df6e23f2cb254 (diff) |
Extension du polymorphisme de sorte au cas des définitions dans Type.
(suppression au passage d'un cast dans constant_entry_of_com - ce
n'est pas normal qu'on force le type s'il n'est pas déjà présent mais
en même temps il semble que ce cast serve pour rafraîchir les univers
algébriques...)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9310 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/term_typing.mli')
-rw-r--r-- | kernel/term_typing.mli | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kernel/term_typing.mli b/kernel/term_typing.mli index 6fac9e050..83434e2ec 100644 --- a/kernel/term_typing.mli +++ b/kernel/term_typing.mli @@ -26,12 +26,11 @@ val translate_local_assum : env -> types -> types * Univ.constraints val infer_declaration : env -> constant_entry -> - Declarations.constr_substituted option * Term.types * Univ.constraints * - bool * bool + constr_substituted option * constant_type * constraints * bool * bool -val build_constant_declaration : env -> 'a -> - Declarations.constr_substituted option * Term.types * Univ.constraints * - bool * bool -> Declarations.constant_body +val build_constant_declaration : env -> 'a -> + constr_substituted option * constant_type * constraints * bool * bool -> + constant_body val translate_constant : env -> constant -> constant_entry -> constant_body |