aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Herbelin2018-10-09 20:46:47 +0200
committerHugo Herbelin2018-10-19 16:55:40 +0200
commit6a52d22067727da3d5b2128ea1ac67f8037138b1 (patch)
treec551761bcb4ed28033701f4baf9b075cdbe81530
parent09d0ba708a96125632344f2f994b45e9075fc303 (diff)
Deprecating Global.constr_of_global_in_context.
-rw-r--r--library/global.mli5
1 files changed, 1 insertions, 4 deletions
diff --git a/library/global.mli b/library/global.mli
index 29255a70ff..0c59330f6e 100644
--- a/library/global.mli
+++ b/library/global.mli
@@ -129,10 +129,7 @@ val is_type_in_type : GlobRef.t -> bool
val constr_of_global_in_context : Environ.env ->
GlobRef.t -> Constr.types * Univ.AUContext.t
-(** Returns the type of the constant in its local universe
- context. The type should not be used without pushing it's universe
- context in the environmnent of usage. For non-universe-polymorphic
- constants, it does not matter. *)
+ [@@ocaml.deprecated "alias of [Typeops.constr_of_global_in_context]"]
val type_of_global_in_context : Environ.env ->
GlobRef.t -> Constr.types * Univ.AUContext.t