Expected Behavior
I would expect dune fmt or dune build @fmt to never build anything.
(This is an assumption made by OCaml-CI for the lint-fmt job. cc @maiste)
Actual Behavior
Menhir parser that have a corresponding .mli file are generated when calling dune build @fmt
Reproduction
It was a bit subtle to reproduce and minimize the issue we encountered in Merlin.
I made a PR with what I think is a fairly minimal reproduction: #7455
Specifications
- Version of
dune: reproducing PR is based on main
- Version of
ocaml: unrelevant
- Operating system: unrelevant
Expected Behavior
I would expect
dune fmtordune build @fmtto never build anything.(This is an assumption made by OCaml-CI for the
lint-fmtjob. cc @maiste)Actual Behavior
Menhir parser that have a corresponding
.mlifile are generated when callingdune build @fmtReproduction
It was a bit subtle to reproduce and minimize the issue we encountered in Merlin.
I made a PR with what I think is a fairly minimal reproduction: #7455
Specifications
dune: reproducing PR is based on mainocaml: unrelevant