-
Notifications
You must be signed in to change notification settings - Fork 45
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
Make MDX compatible with 4.14 #356
Conversation
Signed-off-by: Nathan Rebours <nathan.p.rebours@gmail.com>
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.
Thanks for the PR! The changes are overall quite minor indeed but of course the difficult part is to figure out how to do stuff in 4.14 and not writing down the LoC 👍 I have one comment, that would make it possible to potentially simplify the code a tiny bit.
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.
After discussion we decided to look whether this can be optimized at a potentially later point in time.
CHANGES: #### Added - Make MDX compatible with OCaml 4.14 (realworldocaml/mdx#356, @NathanReb)
CHANGES: #### Added - Make MDX compatible with OCaml 4.14 (realworldocaml/mdx#356, @NathanReb)
CHANGES: #### Added - Add trailing `;;` to the output of toplevel phrases that were missing it. (realworldocaml/mdx#346, @Leonidas-from-XIV) - Make MDX compatible with OCaml 4.14 (realworldocaml/mdx#356, @NathanReb) #### Fixed - Use the same output as the normal toplevel. Mdx used to carry an unsafe patch to work around a bug fixed in OCaml 4.06 and that patch would change the printed types in some corner cases. (realworldocaml/mdx#322, @emillon) #### Removed - Dropped compatibility with older OCaml versions. The minimal supported range is 4.08 to 4.13 now (realworldocaml/mdx#345, @Leonidas-from-XIV) - Do not install deprecated `mdx` binary anymore (realworldocaml/mdx#274, @gpetiot) - Remove deprecated `rule` command (realworldocaml/mdx#312, @gpetiot) - Remove support for `require-package` label, use the `mdx` stanza in dune instead. This label was only used for the `rule` command and can now be safely removed. (realworldocaml/mdx#363, @Leonidas-from-XIV)
Not much to note here, some changes in the typing API, all pretty straight forward (see the upstream PR ocaml/ocaml#10337) and the new
Shape.t
returned bytype_structure
which we can simply ignore as @voodoos confirmed it's not really relevant to MDX!