Skip to content

fix(menhir): preserve dependencies used for type inference - #196

Closed
anmonteiro wants to merge 1 commit into
base/menhir-inference-dependenciesfrom
fix/menhir-inference-dependencies
Closed

anmonteiro wants to merge 1 commit into
base/menhir-inference-dependenciesfrom
fix/menhir-inference-dependencies

Conversation

@anmonteiro

@anmonteiro anmonteiro commented Sep 20, 2026 •

Copy link
Copy Markdown
Owner

Prototype forwarding resolved Menhir inference dependencies into parser compilation without changing physical-name lookup. Based on ocaml/main after ocaml#16446, independently of #195.

Build/format checks and Menhir tests pass; the full suite still hits existing macOS FSEvents and sandbox-cleanup failures.

@anmonteiro
anmonteiro force-pushed the fix/menhir-inference-dependencies branch 2 times, most recently from ca9bc42 to f528ddf Compare September 20, 2026 01:59
@anmonteiro
anmonteiro changed the base branch from base/menhir-inference-dependencies to test/menhir-inference-modes September 20, 2026 02:00
anmonteiro added a commit to ocaml/dune that referenced this pull request Sep 20, 2026
Cover disabled inference, token-only generation, and unused fallback
rules. These passing cases guard the dependency-tracking changes in
anmonteiro#196. Replaces anmonteiro#197.

Menhir and build/format checks pass; the full suite hits existing macOS
FSEvents failures.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@anmonteiro
anmonteiro force-pushed the fix/menhir-inference-dependencies branch from f528ddf to 8269763 Compare September 20, 2026 03:07
@anmonteiro
anmonteiro changed the base branch from test/menhir-inference-modes to base/menhir-inference-dependencies September 20, 2026 03:07
@anmonteiro
anmonteiro changed the base branch from base/menhir-inference-dependencies to test/menhir-transitive-inference-deps September 20, 2026 03:20
anmonteiro added a commit to ocaml/dune that referenced this pull request Sep 20, 2026
Extend the regression to record missing dependencies in parser consumers
and a failed incremental rebuild under a fallback rule, even when the
generated interface is unchanged. Extracted from anmonteiro#196.

Build/format checks and Menhir tests pass; the full suite hits existing
macOS FSEvents and sandbox-cleanup failures.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@anmonteiro
anmonteiro force-pushed the fix/menhir-inference-dependencies branch from 8269763 to 440004a Compare September 20, 2026 03:32
@anmonteiro
anmonteiro changed the base branch from test/menhir-transitive-inference-deps to base/menhir-inference-dependencies September 20, 2026 03:32
@anmonteiro
anmonteiro force-pushed the fix/menhir-inference-dependencies branch from ccc9b27 to 58c418a Compare September 20, 2026 05:05
@anmonteiro

Copy link
Copy Markdown
Owner Author

Superseded by ocaml#16447.

@anmonteiro anmonteiro closed this Sep 20, 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