aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2018-05-16 00:06:51 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2018-05-28 15:28:24 +0200
commit4552729b88058946055dddde1533057e25bfc5a9 (patch)
tree38c4c1440c9aa03430b63da175663f96bcf668dd /dev
parentb053d98fb17d2f46878f49d7adf4839ae632c10b (diff)
Unify pre_env and env
We now have only two notions of environments in the kernel: env and safe_env.
Diffstat (limited to 'dev')
-rw-r--r--dev/top_printers.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/top_printers.ml b/dev/top_printers.ml
index cb1abc4a9..3321c2931 100644
--- a/dev/top_printers.ml
+++ b/dev/top_printers.ml
@@ -230,7 +230,7 @@ let ppenv e = pp
let ppenvwithcst e = pp
(str "[" ++ pr_named_context_of e Evd.empty ++ str "]" ++ spc() ++
str "[" ++ pr_rel_context e Evd.empty (rel_context e) ++ str "]" ++ spc() ++
- str "{" ++ Cmap_env.fold (fun a _ s -> Constant.print a ++ spc () ++ s) (Obj.magic e).Pre_env.env_globals.Pre_env.env_constants (mt ()) ++ str "}")
+ str "{" ++ Cmap_env.fold (fun a _ s -> Constant.print a ++ spc () ++ s) (Obj.magic e).env_globals.env_constants (mt ()) ++ str "}")
let pptac = (fun x -> pp(Ltac_plugin.Pptactic.pr_glob_tactic (Global.env()) x))