Fixes
-
OCaml ocamlprof:
ocamlprofno longer instruments unreachable match clauses, fixing a syntax error when compiling code with empty variant types. Merged and cherry-picked to 5.4.0. #14197 -
OCaml type checker: PR opened to fix variance checking for private type aliases, where a module signature could declare stronger variance than the structure definition, allowing unsound casts through phantom parameters. #14202, issue #14200
-
OCaml
string_of_float: On Windows, exponents with fewer than three digits are zero-padded (1.23e+034vs1.23e+34on Linux/macOS). Reported against 5.3.0; no fix yet. issue #14201 -
OCaml parser: PR opened to stop marking constraints on module unpacking as ghost, correcting their treatment in the grammar. #14198