Skip to content

modules field in conjunction with private_modules, virtual_modules, etc. #7026

@rgrinberg

Description

@rgrinberg

The issues #7022, #7023, #7024 demonstrate a similar set of issues where a module is absent from modules, but is present in some other module list. Dune unfortunately ignores this discrepancy. At best, this is a harmless mistake, and at worst, this leads to some confusing build errors.

I propose that we do the following:

  1. We warn the user when this mistake is made for now.
  2. In 3.8, we turn this into a hard error.

Wdyt @nojb @emillon

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