Skip to content

Commit

Permalink
Backport PR coq#17743: [stm] fix regression introduced in de2d782
Browse files Browse the repository at this point in the history
  • Loading branch information
Zimmi48 committed Jun 20, 2023
2 parents 88e420e + 5666ffa commit c716867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stm/stm.ml
Expand Up @@ -2687,7 +2687,7 @@ let process_transaction ~doc ?(newtip=Stateid.fresh ()) x c =
begin match w with
| VtNow ->
(* We need to execute to get the new parsing state *)
ignore(finish ~doc:dummy_doc);
let () = ignore (observe ~doc:dummy_doc (VCS.get_branch_pos (VCS.current_branch ()))) in
let parsing = Vernacstate.Parser.cur_state () in
(* If execution has not been put in cache, we need to save the parsing state *)
if (VCS.get_info id).state == EmptyState then VCS.set_parsing_state id parsing;
Expand Down

0 comments on commit c716867

Please sign in to comment.