Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W23.2026 · 1–7 JunCore

Features

  • OCaml RFC #52: Open proposal introduces a loc:[%call_pos] arrow that auto-fills a Lexing.position parameter with the call-site location. #52

  • OCaml Lambda (proposal): Open PR merges nested labelled applications in Lambda, eliminating spurious intermediate closures. May change evaluation order for optional arguments in edge cases. #14763

  • OCaml GC (proposal): Open PR defers ephemeron marking rounds until all domains finish normal marking. Benchmarks show ~14% speedup on a 12-domain hashconsing workload. #14774

Compatibility

  • OCaml DragonFly BSD: Merged support for frame-pointer backtraces, including platform recognition in ocamltest. Resolves assembler errors with gcc 8.3 and binutils 2.34. #14840

Fixes

  • OCaml flambda: Merged fix prevents an infinite inlining loop when a recursive function's default-argument stub calls itself. Resolves a compiler hang on self-referential default arguments. #14839

  • OCaml runtime events: Merged fix terminates with a fatal error when an event exceeds the ring buffer size, instead of looping indefinitely. #14834

  • OCaml warning 60: Merged fix reports the unused-module warning at the substitution site rather than the original declaration, correcting source locations when .mli files are compiled separately. #14831

  • OCaml type recovery: Merged fix copies module paths during type-expression freezing so later unification of unscoped identifiers does not alter earlier error messages. #14824

  • OCaml typechecker: Open bug reports a Ctype.Unify crash on trunk when passing a functor argument through a locally-abstract scope. A fix is proposed in an open PR. #14842, #14845