Skip to content

modules_flags for multiple modules #12638

@bschommer

Description

@bschommer

I'm trying the modules_flags for a coq.theory to specify different warning flags for different modules however I'm not able to add more than one module. For example:

(coq.theory
 (name test)
 (theories Stdlib)
 (modules a b)
 (modules_flags (a (-w -deprecated-from-Coq)
                 b (-w -deprecated-since-9.0))))

Results in:

File "dune", lines 1-6, characters 0-152:
1 | (coq.theory
2 |  (name test)
3 |  (theories Stdlib)
4 |  (modules a b)
5 |  (modules_flags (a (-w -deprecated-from-Coq)
6 |                  b (-w -deprecated-since-9.0))))
Error: More than one file to compile: ./b and a.v

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions