Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] Build occurrences index for Merlin #10422

Merged
merged 21 commits into from
May 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Attempt to fix builds on older version of OCaml
Signed-off-by: Ulysse Gérard <[email protected]>
voodoos committed May 27, 2024
commit fe06897253871646c87e09bc3565ab5c3326f1a5
2 changes: 1 addition & 1 deletion src/dune_rules/merlin/ocaml_index.ml
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ let cctx_rules cctx =
|> Modules.With_vlib.drop_vlib
|> Modules.fold_user_written ~init:[] ~f:(fun module_ acc ->
let cmts =
[ Intf; Impl ]
[ Ml_kind.Intf; Impl ]
|> List.filter_map ~f:(fun ml_kind ->
Obj_dir.Module.cmt_file obj_dir ~ml_kind ~cm_kind module_
|> Option.map ~f:Path.build)