aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-11-21 13:14:17 +0100
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-11-21 13:14:17 +0100
commit83c63a5075fb55e4e3291e163417bcffaf009dcd (patch)
tree31686304f831584f322dd6d143956a57ea917e20 /toplevel
parent2a857da2a88855a6c9f0fa7e48a8700c1613e0c7 (diff)
[stm] Allow delayed constant in interactive mode.
This setting is a debug assertion, due to the many flags we still over-approximate setting the flag to true to all interactive environments. [So the assert is checked in vo compilation] Fixes #6152.
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/coqtop.ml6
1 files changed, 2 insertions, 4 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml
index f3d5d9b85..a840cbc50 100644
--- a/toplevel/coqtop.ml
+++ b/toplevel/coqtop.ml
@@ -333,8 +333,8 @@ let compile ~verbosely ~f_in ~f_out =
(Printf.sprintf "%.3f" (wall_clock2 -. wall_clock1));
Aux_file.stop_aux_file ();
Dumpglob.end_dump_glob ()
- | BuildVio ->
+ | BuildVio ->
Flags.record_aux_file := false;
Dumpglob.noglob ();
@@ -734,9 +734,7 @@ let parse_args arglist =
|"-profile-ltac" -> Flags.profile_ltac := true
|"-q" -> Coqinit.no_load_rc ()
|"-quiet"|"-silent" -> Flags.quiet := true; Flags.make_warn false
- |"-quick" ->
- Safe_typing.allow_delayed_constants := true;
- compilation_mode := BuildVio
+ |"-quick" -> compilation_mode := BuildVio
|"-list-tags" -> print_tags := true
|"-time" -> Flags.time := true
|"-type-in-type" -> set_type_in_type ()