Repository navigation
test(ocamllex): reproduce dialect collision - #17029
Merged
Merged
Conversation
This was referenced Nov 13, 2026
Draft
Alizter
force-pushed
the
repro-parser-formatter-dialects
branch
from
November 18, 2026 17:17
7978734 to
a7b78ae
Compare
Registering .mll as an implementation dialect makes the lexer build fail with a duplicate-module error, even without a formatter. Refs ocaml#17030. Signed-off-by: Ali Caglayan <[email protected]>
Alizter
force-pushed
the
repro-parser-formatter-dialects
branch
from
November 18, 2026 17:22
a7b78ae to
71c8ebd
Compare
anmonteiro
marked this pull request as ready for review
November 23, 2026 05:29
anmonteiro
added a commit
to anmonteiro/dune
that referenced
this pull request
Nov 23, 2026
Extend the reproduction from ocaml#17029 to formatting, Menhir, and ocamlyacc. Refs ocaml#17030. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro
added a commit
to anmonteiro/dune
that referenced
this pull request
Nov 23, 2026
Recognize generated modules that share their original source with a dialect input. Fixes ocaml#17030, introduced by ocaml#16414; uses the reproduction from ocaml#17029. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro
added a commit
to anmonteiro/dune
that referenced
this pull request
Nov 23, 2026
Extend the reproduction from ocaml#17029 to exercise formatting. Refs ocaml#17030. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro
added a commit
to anmonteiro/dune
that referenced
this pull request
Nov 23, 2026
Recognize generated modules that share their original source with a dialect input. Fixes ocaml#17030, introduced by ocaml#16414; uses the reproduction from ocaml#17029. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro
added a commit
that referenced
this pull request
Nov 23, 2026
Reproduce #17030 for Menhir and ocamlyacc formatting dialects. Complements #17029; fixed by #17193. 01a20619-183b-76f3-b8a7-18c1b28eb1c0 Signed-off-by: Antonio Nuno Monteiro <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An ocamllex build succeeds until
.mllis registered as an implementation dialect, then fails with a duplicate-module error even without a formatter.Refs #17030.