Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W45.2026 · 2–8 NovCore

Features

  • Open proposal (PR #52, updated 2026-11-06). A labelled function argument annotated [%call_loc] is auto-filled with the caller's source location. Affects monadic bind tracing and embedded-language error reporting.

  • PR #15227 extends [@unboxed] to multi-constructor variant types by tracking head shapes in the type checker. Affects pattern-matching compilation and separability analysis.

  • PR #15269 makes ocamlc/ocamlopt reject non-exhaustive matches by default. The toplevel retains non-fatal behaviour. Breaking change.

  • Issue #15242 proposes porting OxCaml's auto-compaction to trunk, triggered at the end of major GC cycles when free-to-live ratio exceeds OCAMLRUNPARAM=O (default 500).

Compatibility and Releases

  • Release, 2026-11-06. Six security fixes (OSEC-2026-18/21/22/23/24/30) covering Marshal, Str, Unix.map_file, demarshaling, Windows command quoting, and ephemeron marking; plus a pattern-compilation fix and a macOS compatibility fix.

Fixes

  • PR #15219 adds a fast path for variance checking on constrained parameters. Reduces a 760 s case to 3.7 s.

  • PR #15267 restores the console-control handler mapping Ctrl-Break to SIGINT on Windows. Cherry-picked to 5.6.

  • PR #15261 raises Invalid_argument for ports outside 0–65535 instead of silently truncating modulo 65536. Fixes #15249.

  • Issue #15244: ocamlopt returns a.(0) instead of raising Invalid_argument for index 2⁵⁴. PR #15161 adds overflow checks to the shift rewrite.