Skip to content

Commit

Permalink
Merge pull request #700 from FissoreD/setupinit-order
Browse files Browse the repository at this point in the history
[setup.init] elpi-builtin loaded before coq-builtin
  • Loading branch information
gares authored Oct 4, 2024
2 parents 373a0b6 + 70720e3 commit 53dd0e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coq_elpi_programs.ml
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ module Synterp : Programs = struct
let in_stage x = x ^ "-synterp"
let init () =
API.Setup.init ~state:synterp_state ~hoas:synterp_hoas
~quotations:synterp_quotations ~builtins:[coq_synterp_builtins;elpi_builtins] ~file_resolver ()
~quotations:synterp_quotations ~builtins:[elpi_builtins;coq_synterp_builtins] ~file_resolver ()
end
include SourcesStorage(S)

Expand All @@ -736,7 +736,7 @@ module Interp : Programs = struct
let in_stage x = x ^ "-interp"
let init () =
API.Setup.init ~state:interp_state ~hoas:interp_hoas
~quotations:interp_quotations ~builtins:[coq_interp_builtins;elpi_builtins] ~file_resolver ()
~quotations:interp_quotations ~builtins:[elpi_builtins;coq_interp_builtins] ~file_resolver ()
end)

let () = Coq_elpi_builtins.set_accumulate_to_db_interp (fun clauses_to_add ->
Expand Down

0 comments on commit 53dd0e6

Please sign in to comment.