Skip to content

OxCaml: fix with-bounds for arbitrary types - #1466

Open
art-w wants to merge 3 commits into
ocaml:masterfrom
art-w:odoc-fix-oxcaml
Open

OxCaml: fix with-bounds for arbitrary types#1466
art-w wants to merge 3 commits into
ocaml:masterfrom
art-w:odoc-fix-oxcaml

Conversation

@art-w

@art-w art-w commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Follow-up on #1454 (only the last commit is new, such that it can integrate with the modes support)

@jonludlam reported an error when building the documentation of base, where a form of type 'a t : ... with 'a M.t is used: it turns out that arbitrary types can appear on the right of a with-bound, but currently OxCaml only gives access to the parsetree (see https://github.com/oxcaml/oxcaml/blob/main/typing/types.mli#L426) so we do a best effort conversion.

Fix #1455

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.

Failure to build docs of base with oxcaml

1 participant