File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -567,10 +567,7 @@ module Interp = struct
567567 match syndata with
568568 | None -> [] , fun ~target :_ ~depth -> Stdlib.Result. Ok ET. mkDiscard
569569 | Some (relocate_term ,log ) -> log, relocate_term in
570- let initial_synterp_state =
571- match synterplog with
572- | [] -> Vernacstate.Synterp. freeze ()
573- | x :: _ -> Coq_elpi_builtins_synterp.SynterpAction. synterp_state_after x in
570+ let initial_synterp_state = Vernacstate.Synterp. freeze () in
574571 let query ~depth state =
575572 let state, args, gls = EU. map_acc
576573 (Coq_elpi_arg_HOAS. in_elpi_cmd ~depth ~raw: raw_args Coq_elpi_HOAS. (mk_coq_context ~options: (default_options () ) state))
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ Elpi Accumulate lp:{{
166166 main _ :-
167167 D = (record "foo" {{ Type }} "mkfoo" (field [] "f" {{ Type }} _\end -record)),
168168 coq.typecheck-indt-decl D ok,
169- coq.env.add-indt D I.
169+ coq.env.add-indt D I, coq.env.begin-module "x" none, coq.env. end -module _ .
170170}}.
171171#[synterp] Elpi Accumulate lp:{{
172172 main _ :- coq.env.begin-module "x" none, coq.env.end -module _.
You can’t perform that action at this time.
0 commit comments