aboutsummaryrefslogtreecommitdiff
path: root/vernac/comAssumption.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-10-13 16:32:15 +0200
committerGaëtan Gilbert2019-10-14 10:24:26 +0200
commitc3479eceb8e07b37570a80bca9937e3520c61024 (patch)
tree136a1773ad9b1bd1cdecd3db26ca0cc64f4516cf /vernac/comAssumption.ml
parent26e8b5a545bcf2209d56494ccf4afe143f761fd7 (diff)
Use kernel info from Global for Lib.sections_{depth,are_opened}
Diffstat (limited to 'vernac/comAssumption.ml')
-rw-r--r--vernac/comAssumption.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/comAssumption.ml b/vernac/comAssumption.ml
index 5ba8b0ab3c..f9b73a59eb 100644
--- a/vernac/comAssumption.ml
+++ b/vernac/comAssumption.ml
@@ -287,7 +287,7 @@ let context ~poly l =
name,b,t,impl)
ctx
in
- if Lib.sections_are_opened ()
+ if Global.sections_are_opened ()
then context_insection sigma ~poly ctx
else context_nosection sigma ~poly ctx