Repository navigation
Oxcaml 5.4.0 ox9 - #1520
Oxcaml 5.4.0 ox9#1520avsm wants to merge 9 commits into
Conversation
Under OxCaml the partial application [Buffer.add_string buf] is a stack-allocated closure, which cannot be captured by [flush]. The same change is already in src/search/odoc_html_frontend.ml. This is what is left of "Adapt to 5.2.0minus-39 compiler-libs" once it is rebased: master already carries the compiler-libs changes it made. Co-Authored-By: Claude Fable 5 <[email protected]> Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Thanks! this does a bit more than just update, there's a bit of nice new functionality too. |
|
Pinging @art-w on this as I believe he has been looking into the new OxCaml release as well (disregard if I misremembered). |
|
Cursory drive-by - unless there's an amazingly compelling reason to do so, I wouldn't encode any kind of support for older versions of OxCaml (cf. realworldocaml/mdx#484) - I expect that the various tests for 5.4 should just be |
Use the regular odoc and odoc-parser package builders with the upstream base and immutable diff for ocaml/odoc#1520. Share these pins with opam CI, and remove the local OxCaml 5.4 compatibility patch. Stamp the snapshot version consistently in sources and expected outputs. Signed-off-by: Ali Caglayan <[email protected]>
Pin the opam release to ox9 and the latest tagged compiler to ox15. Use the regular odoc and odoc-parser builders with the upstream base and immutable diff for ocaml/odoc#1520 instead of a local compatibility patch. Stamp the snapshot version in sources and expected outputs. Signed-off-by: Ali Caglayan <[email protected]>
|
@dra27-js yes that 5.2 ifdef was convenient while I was porting, but I'm full 5.4.0+ox9 now as well! |
| pos_cnum = loc.loc_start.pos_cnum ; | ||
| pos_lnum = loc.loc_start.pos_lnum |
| let source_loc_jane = | ||
| match sourcefile with | ||
| | Some (Some file, _, build_dir) -> | ||
| Some {Odoc_model.Lang.Source_loc_jane.filename = build_dir ^ "/" ^ file ; line_number = 1} |
There was a problem hiding this comment.
Can file ever be absolute? If so, then this is incorrect.
This logic is duplicated with src/model/lang.ml.
Update both Nix and opam CI to OxCaml `5.4.0-ox9`, sharing compiler/repository pins and the upstream odoc port from ocaml/odoc#1520. Update the affected integration expectations and keep the OxCaml patch guards enabled. Formatting and unrelated CI cleanups remain separate follow-ups. Follows merged #16968, #16985, #16990, and #16994.
This rebases oxcaml/odoc to work with the newly released oxcaml.5.4.0+ox9 oxcaml/opam-repository#66 /cc @dra27 @jonludlam