aboutsummaryrefslogtreecommitdiff
path: root/stm
diff options
context:
space:
mode:
Diffstat (limited to 'stm')
-rw-r--r--stm/stm.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/stm/stm.ml b/stm/stm.ml
index 864fff9e0b..359890eb7d 100644
--- a/stm/stm.ml
+++ b/stm/stm.ml
@@ -2478,12 +2478,16 @@ let new_doc { doc_type ; require_libs } =
begin match doc_type with
| Interactive ln ->
+ Safe_typing.allow_delayed_constants := true;
Declaremods.start_library ln
+
| VoDoc ln ->
let ldir = Flags.verbosely Library.start_library ln in
VCS.set_ldir ldir;
set_compilation_hints ln
+
| VioDoc ln ->
+ Safe_typing.allow_delayed_constants := true;
let ldir = Flags.verbosely Library.start_library ln in
VCS.set_ldir ldir;
set_compilation_hints ln