Skip to content

Fix 1429#1430

Merged
jonludlam merged 5 commits into
ocaml:masterfrom
jonludlam:fix-1429
May 11, 2026
Merged

Fix 1429#1430
jonludlam merged 5 commits into
ocaml:masterfrom
jonludlam:fix-1429

Conversation

@jonludlam
Copy link
Copy Markdown
Member

This is a regression, but due to code that's been there a while. We're just exercising it more with the fix for #930.

jonludlam and others added 5 commits May 6, 2026 13:41
This contains a test for the intitial problem, and several other
problematic examples.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The assertion in [Subst.resolved_signature_fragment] at the
[`Root (`ModuleType p)] case assumed the named module type at the LHS
of a [subst] could never itself be substituted. The fix is to raise
`Invalidated` which unresolves the fragment so the code can continue.
It will subsequently be removed from the signature by the substitution.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Lower bound is now 4.11. Bumped macos latest to 5.4. Keeping ubuntu latest
on 5.3 as bisect_ppx is unavailable for 5.4
It was removing bisect_ppx from the opam file, but we've removed it
anyway.
Copy link
Copy Markdown
Collaborator

@panglesd panglesd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't investigated enough the issue to say this is the correct fix, or to provide a better one. But I still can say that it is better than before, and should go in!

@jonludlam jonludlam merged commit a10e845 into ocaml:master May 11, 2026
10 of 11 checks passed
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.

2 participants