Features
-
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; under discussion at the developer meeting. #14763
-
OCaml GC (proposal): Open PR defers ephemeron marking rounds until all domains finish normal marking, reducing redundant work on multi-domain systems. Benchmarks show ~14% speedup on a 12-domain hashconsing workload. #14774
Compatibility and Releases
- OCaml DragonFly BSD: Merged support for frame-pointer backtraces on DragonFly BSD, including recognition of the platform 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 code like
let rec f ?(x = f ()) () = x + 1. #14839 -
OCaml runtime events: Merged fix terminates with a fatal error when an event exceeds the ring buffer size, instead of looping indefinitely. Closes a hang in
test_caml_runparams.mlwith the instrumented runtime. #14834 -
OCaml warning 60: Merged fix reports the unused-module warning at the substitution site rather than the original declaration, correcting the source location when
.mlifiles are compiled separately. #14831 -
OCaml type recovery: Merged fix copies module paths during type-expression freezing so that later unification of unscoped identifiers does not alter earlier error messages involving modular explicits. #14824
-
OCaml typechecker (regression): Open bug reports a
Ctype.Unifycrash on trunk when passing a functor argument through a locally-abstract scope; bisected to PR #11648. A fix is proposed in an open PR. #14842, #14845