Skip to content

Commit

Permalink
fix compat with ocaml < 4.13
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed Jan 25, 2024
1 parent 1cd9e96 commit 58af4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coq_elpi_utils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ let detype ?(keepunivs = false) env sigma t =
list_map_acc
(fun env (n, ty) -> push_occurring_rel (LocalAssum (n, ty)) env)
env
(CArray.combine names tys |> CArray.to_list)
(CList.combine (names|> CArray.to_list) (tys |> CArray.to_list))
in
let n = Array.length tys in
let v = CArray.map3 (fun c t i -> share_names (i + 1) [] env c (Vars.lift n t)) bodies tys vn in
Expand Down

0 comments on commit 58af4e2

Please sign in to comment.