support OCaml 5.5#510
Merged
Octachron merged 1 commit intoMar 6, 2026
Merged
Conversation
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
anmonteiro
force-pushed
the
anmonteiro/ocaml-5.5-support
branch
from
February 15, 2026 20:14
d9cfc4e to
629b067
Compare
Octachron
approved these changes
Feb 26, 2026
Octachron
left a comment
Member
There was a problem hiding this comment.
This is good to merge from my point of view.
| #if OCAML_VERSION >= (5, 5, 0) | ||
| let si = Str.module_ ~loc (Mb.mk ~loc (with_loc loc (Some "_")) (Mod.structure (item :: items))) in | ||
| let body = (Exp.struct_item ~loc si (Exp.construct unit None)) in | ||
| #else |
Member
There was a problem hiding this comment.
I am wondering if we should have a helper letmodule function to make it clearer than the two branches are the same but for one use point this seems good enough.
Member
|
I am proposing of merging now, and we will publish the new utop version after the first beta for 5.5.0 . |
Member
|
ping @Octachron |
Octachron
added a commit
to Octachron/opam-repository
that referenced
this pull request
Mar 26, 2026
CHANGES: * Add support for OCaml 5.5 (ocaml-community/utop#510 @anmonteiro) * Add support for neocaml or other major modes in utop.el (ocaml-community/utop#511, @bbatsov)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.