Skip to content

incorrect .merlin but no warning when using per_module #2596

@Khady

Description

@Khady

We have a library using per_module in the preprocess part. It seems that dune generates an incorrect .merlin file as soon as per_module is used. It doesn't include the FLG -ppx ... line.

An easy way to reproduce (with dune 1.10 at least) is to create a library with a single file and this dune file:

(library
 (name demo)
 (preprocess (per_module ((pps lwt_ppx ppx_expect) demo))))

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