Skip to content

(include_subdirs qualified) leads to some spurious ocaml-lsp errors #8297

@tjdevries

Description

@tjdevries

Expected Behavior

No errors from ocaml-lsp (project successfully compiled), for example this succeeds.

❯ dune build @check   

(You can see the code here: https://github.com/tjdevries/thereactagen/blob/2dfcfc8b7473f771f3f14927fc75c90bb3609131/lib/models/dune )

Actual Behavior

image

(Same error in .ml file and .mli file for lib/models/storage/custom.mli

Reproduction

  • PR with a reproducing test:
  1. I'm not sure how to reproduce outside of the project, but pretty sure it's from the qualified usage. I linked the

Specifications

  • Version of dune (output of dune --version): 3.9.1
  • Version of ocaml (output of ocamlc --version): 5.0.0
  • Operating system (distribution and version): Pop OS

(cc @anmonteiro, i can give more info if needed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions