Fixes
-
Merged: A scoping error in
occur_univar_or_unscopederased result types with the first package type, producing unsound assignments. Fixed in #14892; a 5.5.1 release is warranted. -
Merged: Since #12596,
let rec f = let __0 = f in function …generated an extra closure, breaking inlining for ppx_deriving code. #14885 and #14894 restore the optimisation. -
Merged:
module Q(P : P) : P with type t = P.ttriggered an assertion when the constrained type wasexternal "int". External types are now treated as always abstract in this path. #14882 -
Proposed: The pattern-matching integer-overflow guard mishandled
abs min_int = min_int. A fix is in #14890.
Features
-
Proposed: New options
-cclib-static,-static,-cclib-variant, and-linking-variantrecord per-variant C library lists in.cmafiles, resolved at link time via an external command. #14895 -
Merged: The RISC-V backend emits C-extension instructions when the host supports them, reducing
ocamlopt.optcode size by 11%. Register allocation favours x8–x15. #14873 -
Merged:
Atomic.fetch_addcompiles to a single atomic instruction on amd64, arm64, riscv, and power instead of a C call. #14575 -
Merged: Constructor patterns with all-underscore fields now print as
A _instead ofA (_,_). Nested records collapse similarly. #14887