Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W14.2026 · 30 Mar – 5 AprCore

Features

  • OCaml RFC 52: open proposal for a loc:[%call_pos] arrow that auto-fills a Lexing.position parameter with the call-site position. #52
  • 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 for single-copy conversion between dynamic and immutable arrays. Merged in #14693.
  • OCaml trunk (proposal): introduces primitive aliases (external foo = Bar.baz) per RFC #44, letting one primitive reference another's C function. Open in #13377.
  • OCaml trunk (proposal): highlights incompatible subexpressions in type error messages. 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 warns 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.