ocaml/dune

[Merlin] Curious Unbound module issue

Offen

#12.611 geöffnet am 21.10.2025

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)OCaml (478 Forks)github user discovery
good first issuemerlin

Repository-Metriken

Stars
 (1.882 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 20h) (345 gemergte PRs in 30 T)

Beschreibung

I am running into quite a perplexing issue:

https://github.com/user-attachments/assets/04896779-1c65-438e-bc2f-d58bbe98243f

In essence, if I have a library lib and try to utilize it in an executable where there are multiple executables in the same folder and dune file, then the naming of the file will matter and the one utilizing the library will need to be first alphabetically?

I guess notably compilation with dune succeeds each time, but it seems the lsp is requiring something more?

Small example shown in screen recording: Durbatuluk1701/module_bug

Contributor Guide