Features
-
Omnidirectional type inference:
-extension omnidirectionality(eager/delayed) defers Tvar defaulting and mode crossing to a scheduler. #7540, #7544 opened; #7418 (Tivar/Ivar/Scheduler) 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, 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 for addresses 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.