Skip to content

Example of locate failing to resolve (with opam monorepo) #1821

@ddickstein

Description

@ddickstein

Jumping to the definition of Import here is failing with "Several source files in your path have the same name, and merlin doesn't know which is the right one" with paths to a variety of import.ml files in Jane Street libs.

Repro steps

  1. Create a new OCaml project and add a dependency on async (version 0.17.0).
  2. Use opam-monorepo to pull in sources.
  3. Build the project.
  4. Attempt to jump to the definition of Import opened on line 2 of duniverse/async/async_rpc/src/rpc.ml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions