Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W28.2025 · 7–13 Jul

Core repository summaries

2 active · 0 unchanged

Back to weekly digest

ocaml/RFCs

Permalink

Features

  • OCaml RFCs: Open proposal (#55) to add a conflict-of-interest transparency policy to the OCaml Language Committee. Members would report conflicts rather than be excluded from deliberation; an affiliation field would be added to the committee roster.

ocaml/ocaml

Permalink

Fixes

OCaml compiler: fixes non-deterministic pattern-matching code generation caused by 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 from void(void*) to void(void), resolving a GCC 15 -Werror build failure. #14082

OCaml recursive modules: reports a long-standing bug (≥ 4.14) where module type of with functor applications is not approximated during recursive module typechecking, producing false type errors. #14140

Features

OCaml Set/Map: speeds up empty-checks by using is_empty instead of cardinal = 0 in the compiler's Flambda and Flambda2 passes. #14119

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 the evaluation order of { t with ... } so all non-modified fields are read together, avoiding invariant violations with mutable fields. #14129

Compatibility and Releases

OCaml object system: reports data races in CamlinternalOO per-object state (class initialization, method cache) under TSAN; maintainers confirm the current implementation is not multicore-safe. #14131