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

贡献者指南