Skip to content

Dependency error with "dune -p" and "infer true" for menhir #1504

@grayswandyr

Description

@grayswandyr

Hello,
I have an issue that I think comes from Dune (well at least an error message in its source code). The code in question is at: https://github.com/grayswandyr/electrod/tree/release/0.2.0
It happens on 4.07.1 while it compiles well on 4.06.1 for instance, I had never encountered this essage with Jbuilder/Dune on previous major releases of OCaml (I haven't tested 4.07.0). The error message says:

Module Parser in directory _build/default/src depends on Libelectrod.
This doesn't make sense to me.

Libelectrod is the main module of the library and is the only module exposed 
outside of the library. Consequently, it should be the one depending 
on all the other modules in the library.

Alas, this message doesn't really make sens to me either ;-)
Any help appreciated!

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