aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/global.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/global.ml b/library/global.ml
index 3525d38344..9238b6e85c 100644
--- a/library/global.ml
+++ b/library/global.ml
@@ -47,7 +47,7 @@ let import cenv = global_env := import cenv !global_env
(* Some instanciations of functions from [Environ]. *)
-let id_of_global = id_of_global !global_env
+let id_of_global = Environ.id_of_global (unsafe_env_of_env !global_env)
(* Re-exported functions of [Inductive], composed with [lookup_mind_specif]. *)