Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W08.2026 · 16–22 Feb

Core repository summaries

2 active · 0 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

No user-facing language, compiler, or core tooling changes were merged in this interval. The sole activity (a cosmetic fix to contributor avatar rendering in the RFCs repository) is routine maintenance and does not affect software behaviour.

ocaml/ocaml

Permalink

Features

OCaml language (proposal): nested record definitions in record fields, e.g. type t = { a : { b : int } }, extending the existing inline-record mechanism from constructors. Arbitrary nesting and polymorphic parameters are supported; standalone construction of inner records is rejected. Open PR #14527.

Compatibility and Releases

OCaml 5.4.1 / 4.14.3: bug-fix releases published 2026-02-17. See 5.4.1 and 4.14.3.

OCaml C API: removes the long-deprecated caml_fatal_error_arg and caml_fatal_error_arg2 symbols (absent from headers since 5.0). Merged as #14559.

OCaml 5.5 (type system): removes the special treatment of local abstract type definitions, so patterns matching on such types now require an explicit discriminating definition (e.g. private sum types). Code relying on the old implicit non-aliasability assumption will produce spurious partial-match warnings. Clarified in closed issue #14562.

Fixes

OCaml 5.5 trunk: fixes a let module value-restriction regression introduced by #13839, where type variables in let module bindings were incorrectly flagged as non-generalizable. Merged as #14556; cherry-picked to the 5.5 branch.

OCaml 5.4.1 (aarch64): assembler emits "immediate out of range" when compiling large files (e.g. guestfs.ml) with ocamlopt -g. Confirmed regression from 5.4.0; open issue #14574.

OCaml s390x backend: PLT lazy-binding trampolines corrupt the heap when r15 points to an OCaml fiber stack, causing segfaults with libasmrun_shared.so. Fix replaces @plt calls with GOT-indirect calls. Open PR #14547.

OCaml runtime (trunk): rewrites the minor-GC oldify_one hot path to inline allocation and avoid global-variable access, yielding a measured 2–3% total-runtime improvement on promotion-heavy workloads. Open PR #14571.