Repository navigation
fix(menhir): bound private inference helper names - #213
Closed
anmonteiro wants to merge 6 commits into
Closed
anmonteiro wants to merge 6 commits into
anmonteiro wants to merge 6 commits into
Conversation
anmonteiro
force-pushed
the
prototype/menhir-inference-alias-cmi
branch
from
September 26, 2026 22:52
afdc8be to
b6a2c56
Compare
Test coverage: ocaml#16482. --------- Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Fix Menhir inference for qualified module group interfaces by opening a private alias interface, preserving logical dependency lookup. Fixes ocaml#8989. Continues #199; alternative to ocaml#16427 and #195. --------- Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro
force-pushed
the
fix/menhir-inference-helper-name-length
branch
from
September 27, 2026 05:28
3a9b172 to
325e313
Compare
Derive helper names from a digest of the mock module’s logical path and retry local collisions with numeric suffixes. Restore the long-name and external-name regressions from ocaml#16464 and retain local collision coverage. Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro
force-pushed
the
fix/menhir-inference-helper-name-length
branch
from
September 27, 2026 05:29
325e313 to
9b18a9c
Compare
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro
added a commit
to ocaml/dune
that referenced
this pull request
Sep 27, 2026
Use digest-based names for private Menhir inference helpers to fix long filenames and the recorded external-name collision. Follow-up to #16464; restores the regressions from #16480 and #16481. Continues anmonteiro#213. --------- Signed-off-by: Antonio Nuno Monteiro <[email protected]>
Owner
Author
|
Superseded by ocaml#16489, now merged upstream. |
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.
Use digest-based names and numeric collision suffixes to keep private Menhir inference helper filenames short.
Stacked on ocaml#16464; restores the long-name regression from ocaml#16480. The existing ocaml#16481 fixture also passes, but this does not add external-module freshness checks.