Skip to content
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

OCaml 5.2 support #466

Closed
emillon opened this issue Nov 10, 2023 · 1 comment · Fixed by #470 or ocaml/opam-repository#25354
Closed

OCaml 5.2 support #466

emillon opened this issue Nov 10, 2023 · 1 comment · Fixed by #470 or ocaml/opam-repository#25354

Comments

@emillon
Copy link
Collaborator

emillon commented Nov 10, 2023

At the moment, utop is not compatible with OCaml 5.2.0 (or rather, with the current version of trunk, since 5.2.0 has not been released yet).

To support this, it is necessary to update uTop_compat.ml to account for the API changes in the compiler libs.
This is usually straightforward (one parameter is added, a type becomes abstract, etc) but requires good familiarity with OCaml and build tools (dune, opam and cppo).

I can provide help with this.

@huwaireb
Copy link
Contributor

🧇 I can take care of this, i've already gotten something building on the OCaml 5.2 trunk switch, just have some questions regarding retaining compatibility with the previous implementations, in this case load_path < 5.2 has a different implementation and interface than load_path >= 5.2. I can proceed to open a PR if that's fine and we can discuss my questions there.

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 a pull request may close this issue.

2 participants