aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/global.mli
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2015-10-01 23:35:51 +0200
committerGravatar Matthieu Sozeau <mattam@mattam.org>2015-10-02 15:54:13 +0200
commit8860362de4a26286b0cb20cf4e02edc5209bdbd1 (patch)
treea9c80518d1894341c704f0cc81c8ccc8b43d970e /library/global.mli
parent4585baa53e7fa4c25e304b8136944748a7622e10 (diff)
Univs: Change intf of push_named_def to return the computed universe
context Let-bound definitions can be opaque but the whole universe context was not gathered to be discharged at section closing time.
Diffstat (limited to 'library/global.mli')
-rw-r--r--library/global.mli2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/global.mli b/library/global.mli
index e6b5c1cba..ac231f7fd 100644
--- a/library/global.mli
+++ b/library/global.mli
@@ -31,7 +31,7 @@ val set_engagement : Declarations.engagement -> unit
(** Variables, Local definitions, constants, inductive types *)
val push_named_assum : (Id.t * Constr.types * bool) Univ.in_universe_context_set -> unit
-val push_named_def : (Id.t * Entries.definition_entry) -> unit
+val push_named_def : (Id.t * Entries.definition_entry) -> Univ.universe_context_set
val add_constant :
DirPath.t -> Id.t -> Safe_typing.global_declaration -> constant