Skip to content

fix(include-subdirs): reject conflicting generated modules - #190

Closed
anmonteiro wants to merge 2 commits into
anmonteiro/test-unqualified-generated-module-collisionsfrom
anmonteiro/fix-unqualified-generated-module-collisions
Closed

anmonteiro wants to merge 2 commits into
anmonteiro/test-unqualified-generated-module-collisionsfrom
anmonteiro/fix-unqualified-generated-module-collisions

Conversation

@anmonteiro

Copy link
Copy Markdown
Owner

Extract the collision checks from ocaml#13691, without directory renaming. Stacked on the regression tests in ocaml#16410.

Check parser-generator targets and generated source merges for duplicate implementations or interfaces. Preserve implementation/interface pairs and leave same-path conflicts to the rule conflict check.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro added a commit to ocaml/dune that referenced this pull request Sep 15, 2026
Reproduce generated sources silently replacing other module sources in
unqualified groups. Found while reviewing #13691; the extracted fix is
in anmonteiro#190.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@anmonteiro

Copy link
Copy Markdown
Owner Author

Submitted upstream as ocaml#16414.

@anmonteiro anmonteiro closed this Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant