ocaml/dune

[Merlin] Curious Unbound module issue

開放

#12,611 建立於 2025年10月21日

 (3 則留言) (0 個反應) (0 位負責人)OCaml (478 個分叉)github user discovery
good first issuemerlin

倉庫指標

星標
 (1,882 顆星)
PR 合併指標
 (平均合併 1天 20小時) (30 天內合併 345 個 PR)

描述

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

貢獻者指南