Features
-
Omnidirectional type inference:
-extension omnidirectionalitydefers Tvar defaulting and mode crossing to a scheduler. #7540, #7544 opened; #7418 ongoing. -
Never-returning functions carry
Unknownarity in Flambda, enabling layout-polymorphic returns such asassert falsetyped('a : any). #7541, #7545, #7546 opened. -
FDO: new
-fdo-countersflag with counter propagation through Flambda and function identity via scope path plus body hash. #7530, #7531, #7551, #7553 opened. -
JSIR backend: Smallint, block-index, and stdlib-build support added; ocamltest integration for JSIR tests. #7534, #7581, #7586, #7607 opened.
-
Address patterns (
addr_,addr_imm_) now type-check and translate to lambda. Merged #7456, #7458; mode crossing in #7605 opened.
Fixes
-
TLS state is now per-preemptible-fiber;
Obj_slot.accessreplaces get/set, eliminating crossing requirements. Merged #7399, #7539, #7398. -
Datalog engine: union opcodes, binding-position tracking, parameter-stage folding, and Patricia-tree prefetching. Merged #7596–#7604, #7321.
-
Unboxed products in external calls: complex return arities preserved end-to-end in Flambda2; C struct ABI on x86-64/arm64. Merged #6861; #6862 ongoing.
-
dune.3.22.2+oxbootstrap failure after #5462 fixed upstream as #16589. #63 closed unmerged. -
oxcaml-compiler.5.2.0minus39assertion inutils/warnings.mlon macOS arm64; not reproducible, no fix identified. #64.