-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on open
of ascription with manifest type
#1066
Comments
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Dec 19, 2023
I have a similar issue on ocaml-trace at ecf51ce32b4a6fdc038383c1f8b0910055ee7e35 with odoc 2.4. Not sure if it's the same trigger but it looks like the same error:
|
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Feb 8, 2024
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Feb 9, 2024
Should be fixed by #1082 |
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Mar 27, 2024
This is related to issue ocaml#1066, which was partially fixed by ocaml#1082. This PR sorts the remaining two instances of the problem: exceptions and type extensions. Fixes ocaml#1095
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Mar 27, 2024
This is related to issue ocaml#1066, which was partially fixed by ocaml#1082. This PR sorts the remaining two instances of the problem: exceptions and type extensions. Fixes ocaml#1095
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Mar 28, 2024
This is related to issue ocaml#1066, which was partially fixed by ocaml#1082. This PR sorts the remaining two instances of the problem: exceptions and type extensions. Fixes ocaml#1095
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Mar 28, 2024
This is related to issue ocaml#1066, which was partially fixed by ocaml#1082. This PR sorts the remaining two instances of the problem: exceptions and type extensions. Fixes ocaml#1095
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Mar 28, 2024
This is related to issue ocaml#1066, which was partially fixed by ocaml#1082. This PR sorts the remaining two instances of the problem: exceptions and type extensions. Fixes ocaml#1095
jonludlam
added a commit
to jonludlam/odoc
that referenced
this issue
Apr 29, 2024
This is related to issue ocaml#1066, which was partially fixed by ocaml#1082. This PR sorts the remaining two instances of the problem: exceptions and type extensions. Fixes ocaml#1095
jonludlam
added a commit
to jonludlam/opam-repository
that referenced
this issue
Apr 29, 2024
CHANGES: ### Added - OCaml 5.2.0 compatibility (@Octachron, ocaml/odoc#1094, ocaml/odoc#1112) ### Fixed - Fix issues ocaml/odoc#1066 and ocaml/odoc#1095 with extended opens (@jonludlam, ocaml/odoc#1082, ocaml/odoc#1100)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following crashes odoc master:
The crucial bits here are that the
open
expression itself contains an ascription (no crash if we bindM : S
to another name andopen
that name instead) and the ascribed module type has a manifest type in it (re-exported or otherwise). The module type can have any form so long as it evaluates to a signature with a manifest type as a member (so, in fact, the single lineopen (Unit : module type of Unit)
suffices).The crash happens in
Cmi.read_constructor_declaration
(note that we're loading from .cmt rather than .cmi; in fact, there's no crash if you start from the .cmi instead):The text was updated successfully, but these errors were encountered: