Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W05.2026 · 26 Jan – 1 FebCore

Fixes

  • OCaml compiler (trunk): fixes a miscompilation in string read/write where incorrect Cmm machtypes let derived pointers survive a GC, causing crashes. Backported to 5.4 and 5.5. #14010
  • OCaml compiler (trunk): open fix for a soundness bug where a polymorphic pattern passes a raw Tpoly to the exhaustiveness checker, causing a segfault. #14480, issue #14434
  • OCaml runtime (trunk): open fix for a multidomain minor-GC bug where promoting an infix pointer exposes an uninitialized major-heap block to another domain. Marked for backport to 5.5. #14495

Features

  • OCaml stdlib (proposal): open PR adding Lazy.Mutexed, a mutex-protected lazy thunk safe for concurrent forcing across domains or threads. Naming under active discussion. #14393
  • ocamllex (proposal): open PR adding an exhaustiveness warning that reports a nonmatching input example when a rule can fail, with a suggested fix for empty-string and eof cases. #14448
  • OCaml language (proposal): open PR implementing modular explicits (fun (M : S) -> ...), allowing a module parameter's name in the return type. #13275

Compatibility and Releases

  • OCaml C headers: merged changes suppress -Wpedantic / -Wc99-extensions warnings in bigarray.h under strict C++ mode and add a CI test compiling all public headers in C++. #14496, #14421, #14498
  • ocamltest: merged not <action>; negation syntax, removed the legacy **** tree syntax, and added an ocamltest; action for testing ocamltest scripts. #14502, #14499, #13317