Skip to content

Commit 61e0495

Browse files
committed
attempt at saving incomplete proofs, but no
1 parent ca01e2d commit 61e0495

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

toplevel/vernac.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ let interp_vernac ~check ~state ({CAst.loc;_} as com) =
9898

9999
(* Force the command *)
100100
try
101-
let () = if check && not state.in_recovery then Stm.observe ~doc nsid in
101+
let () = if check && not new_recovery_status then
102+
Stm.observe ~doc nsid in
102103
let new_proof = Vernacstate.Declare.give_me_the_proof_opt () [@ocaml.warning "-3"] in
103104
{ state with doc; sid = nsid; proof = new_proof;
104105
in_recovery = new_recovery_status}
@@ -256,8 +257,7 @@ let load_vernac ~echo ~check ~state ?source filename =
256257
|> List.rev
257258
|> prlist_with_sep fnl
258259
(fun (x, y) -> Names.Id.print x ++ Pp.fnl() ++
259-
y))
260-
++ str ".");
260+
y)));
261261
(* Pass for beautify *)
262262
if !Flags.beautify then beautify_pass ~doc:ostate.State.doc ~comments ~ids:(List.rev ids) ~filename;
263263
(* End pass *)

0 commit comments

Comments
 (0)