Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W28.2025 · 7–13 JulCore

Fixes

  • OCaml compiler: fixes non-deterministic pattern-matching code generation from a global handler-id counter affecting hash-table iteration order. Cherry-picked to 5.4. #14091
  • OCaml typechecker: fixes an internal error triggered by recursive modules with GADT constraints on zero-arity type constructors. Cherry-picked to 5.4. #14135
  • OCaml TSAN build: corrects the __tsan_func_exit declaration to resolve a GCC 15 -Werror build failure. #14082

Compatibility

  • OCaml object system: data races in CamlinternalOO per-object state confirmed under TSAN; maintainers state the current implementation is not multicore-safe. #14131
  • OCaml recursive modules: reports a bug (≥ 4.14) where module type of with functor applications is not approximated during recursive module typechecking, producing false type errors. #14140

Features

  • OCaml error messages: proposes printing GADT equations as hints when error messages reference fresh type variables introduced by those equations. #14142
  • OCaml record updates: proposes changing { t with ... } evaluation order so all non-modified fields are read together, avoiding invariant violations with mutable fields. #14129
  • OCaml RFCs: open proposal to add a conflict-of-interest transparency policy to the OCaml Language Committee. Members would report conflicts; an affiliation field would be added to the roster. #55