Thicket thicket
ocaml
REPOS 1

Core covers the OCaml compiler and language RFCs.

W14.2026 · 30 Mar – 5 Aprocaml/ocaml

Features

  • OCaml trunk: allows unparenthesized application in record update syntax, e.g. { Gc.get () with space_overhead = 100 }. Merged in #14692.
  • OCaml trunk: adds Dynarray.of_iarray and Dynarray.to_iarray, converting between dynamic and immutable arrays in a single copy. Merged in #14693.
  • OCaml trunk (proposal): introduces primitive aliases (external foo = Bar.baz) per RFC #44, letting one primitive reference another's C function and type. Open in #13377.
  • OCaml trunk (proposal): highlights incompatible subexpressions in type error messages using syntactic and trace-guided passes. Open in #14659.

Fixes

  • OCaml trunk: fixes class self-type escape and assertion failures in the object system; backported to 5.5. Merged in #14680 and #14696.
  • OCaml trunk: in cleanup-at-exit mode (OCAMLRUNPARAM=c=1), the runtime now emits a warning and skips resource release when unjoined domains remain, instead of segfaulting. Merged in #14642.
  • OCaml trunk: fixes a peephole bug where PUSHENVACC4 was never emitted, causing four-argument environment pushes to use the slower two-word form. Merged in #14534.
  • OCaml trunk (proposal): adds overflow checking to Bigarray.reshape, fixing an out-of-bounds read (CVE-2026-34353). Open in #14691; issue in #14655.