Skip to content

Commit

Permalink
Fix Vernactypes.vtnoproof to actually reject open proofs
Browse files Browse the repository at this point in the history
In practice this only changes Register as there are no other users and it's
not exposed by coqpp, unless some plugin calls it directly.
  • Loading branch information
SkySkimmer committed Oct 24, 2023
1 parent 684781f commit c27e98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vernac/vernactypes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ let vtdefault f =
(), ()) }

let vtnoproof f =
TypedVernac { inprog = Ignore; outprog = No; inproof = Ignore; outproof = No;
TypedVernac { inprog = Ignore; outprog = No; inproof = Reject; outproof = No;
run = (fun ~pm:() ~proof:() ->
let () = f () in
(), ())
Expand Down

0 comments on commit c27e98f

Please sign in to comment.