-
Notifications
You must be signed in to change notification settings - Fork 245
Closed
ocaml/opam-repository
#21121Description
If I have an OCaml file as follows:
open Core
module L = List
...
and I try to MerlinLocate on List, I get the following error:
Several source files in your path have the same name, and merlin doesn't know which is the right one:
/usr/local/lib/ocaml/list.ml, /usr/local/lib/ocaml/list.mli, /Users/dani/.opam/system/lib/core_kernel/
list.ml, /Users/dani/.opam/system/lib/core_kernel/list.mli, /Users/dani/.opam/system/lib/base/list.ml,
/Users/dani/.opam/system/lib/base/list.mli
Why is Merlin having trouble selecting the right one? I'm using Merlin version 3.2.2.
(Following up on issue 2 in #863. The behavior I had been seeing was that this issue occurred when trying to go to definition a second time, as though the locate was cached and there was an issue with the cached version, but now the issue happens even on the first locate request)