Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W13.2026 · 23–29 MarCore

Features

OCaml class types: Merged rebase of class type system improvements. Affects typechecking of class and class type declarations. #14680

OCaml modular explicits: Merged partial-application, over-application, and unused-argument warnings for module-dependent functions. Previously suppressed when a packed module argument was present. #14667

OCaml record update syntax: Proposal to permit unparenthesized function applications in { expr with ... }, e.g. Gc.set { Gc.get () with space_overhead = 100 }. Open for review. #14692

Compatibility and Releases

OCaml typechecker 5.4 rebase: Opened a 5.4 rebase of the typechecker rewrite for ecosystem testing. May reject previously accepted code with ambiguous GADT types. #14673

OCaml x86 runtime: Merged change to always emit prefetchw on x86 and x86_64. Reversible via ./configure CFLAGS=-mno-prfchw for pre-2015 Intel processors. #14665

Fixes

OCaml GC ephemeron: Reverted the ephemeron-marking optimisation that introduced a data race, causing the major GC to loop indefinitely in multi-domain programs. A corrected version is proposed in #14688. #14682

OCaml bigarray: Adds overflow checking to caml_ba_reshape, fixing an out-of-bounds read on 4.14 and an incorrect Out_of_memory exception on 5.x. #14691

OCaml Power backend: Merged DWARF CFI emission for the Power backend, restoring backtraces and debugger support on ppc64le. Last native backend missing CFI. #14482