-
Notifications
You must be signed in to change notification settings - Fork 94
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
Compat with OCaml 5.3.0~alpha1 #1202
Conversation
@@ -9,7 +9,7 @@ and that "hidden" modules (eg. `A__b`, rendered to `html/A__b`) are not rendered | |||
$ ocamlc -bin-annot -o a__b.cmo -c b.ml | |||
$ ocamlc -bin-annot -o a.cmi -c a.mli | |||
$ ocamlc -bin-annot -o a.cmo -c a.ml | |||
$ ocamlc -bin-annot -a -o a.cma a.cmo a__b.cmo | |||
$ ocamlc -bin-annot -a -o a.cma a__b.cmo a.cmo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The compiler caught a potential bug:
$ ocamlc -bin-annot -a -o a.cma a.cmo a__b.cmo
File "_none_", line 1:
Error: Wrong link order: A (a.cmo) depends on A__b (a__b.cmo)
[2]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
module X' : sig type t = SubX.t end | ||
end | ||
module type X6 = sig type t end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What went wrong here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Output is unstable due to the new functor syntax in module type exprs. I thought this output wasn't very interesting so I removed it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a shame - this was intended to be directly compared with the output from odoc (see https://github.com/ocaml/odoc/pull/1202/files/6119c82332b0dc5756a58fa208fd83b9b98e1108#diff-b3b2e29d50da342308f1468a32da8a0a9a40ca40c5b3c654521d8b891b38fab8R49)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a shame indeed. The command can still be added temporarily again to debug the test.
Anyway, that's an automated test.
Thanks! |
CHANGES: ### Added - OCaml 5.3.0 compatibility (@Julow, ocaml/odoc#1202, ocaml/odoc#1254)
No description provided.