diff options
author | Matthieu Sozeau <matthieu.sozeau@inria.fr> | 2016-01-23 17:28:34 -0500 |
---|---|---|
committer | Matthieu Sozeau <matthieu.sozeau@inria.fr> | 2016-01-23 17:32:03 -0500 |
commit | b582db2ecbb3f7f1315fedc50b0009f62f5c59ad (patch) | |
tree | 7124248152310d58c438d4ea0de69b3761f9e082 /library/lib.mli | |
parent | 6a046f8d3e33701d70e2a391741e65564cc0554d (diff) |
Fix bug #4503: mixing universe polymorphic and monomorphic
variables and definitions in sections is unsupported.
Diffstat (limited to 'library/lib.mli')
-rw-r--r-- | library/lib.mli | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/lib.mli b/library/lib.mli index 29fc7cd24..513c48549 100644 --- a/library/lib.mli +++ b/library/lib.mli @@ -178,9 +178,10 @@ val is_in_section : Globnames.global_reference -> bool val add_section_variable : Names.Id.t -> Decl_kinds.binding_kind -> Decl_kinds.polymorphic -> Univ.universe_context_set -> unit val add_section_context : Univ.universe_context_set -> unit -val add_section_constant : bool (* is_projection *) -> +val add_section_constant : Decl_kinds.polymorphic -> Names.constant -> Context.named_context -> unit -val add_section_kn : Names.mutual_inductive -> Context.named_context -> unit +val add_section_kn : Decl_kinds.polymorphic -> + Names.mutual_inductive -> Context.named_context -> unit val replacement_context : unit -> Opaqueproof.work_list (** {6 Discharge: decrease the section level if in the current section } *) |