Skip to content

Commit

Permalink
attempt at saving incomplete proofs, but no
Browse files Browse the repository at this point in the history
  • Loading branch information
ybertot committed Dec 13, 2024
1 parent ca01e2d commit 61e0495
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions toplevel/vernac.ml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ let interp_vernac ~check ~state ({CAst.loc;_} as com) =

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

0 comments on commit 61e0495

Please sign in to comment.