Core covers the OCaml compiler and language RFCs.
Core repository summaries
1 active · 1 unchanged
ocaml/ocaml
PermalinkFeatures
OCaml class types: Merged rebased class type system improvements (rebase of #12150 by @lpw25). Affects typechecking of class and class type declarations. #14680
OCaml modular explicits: Merged support for partial-application, over-application, and unused-argument warnings on module-dependent functions. Previously these warnings were suppressed for functions taking a packed module argument. #14667
OCaml record update syntax: Proposal to allow unparenthesized function applications in { expr with ... }, e.g. Gc.set { Gc.get () with space_overhead = 100 }. Open for review. #14692
Compatibility and Releases
OCaml typechecker "Keep expansion": Opened a 5.4 rebase of the long-running typechecker rewrite (#11648) for ecosystem testing. The change alters how type abbreviations are tracked and may reject previously accepted code with ambiguous GADT types. #14673
OCaml x86 runtime: Merged change to always emit the prefetchw instruction on x86 and x86_64. Reversible via ./configure CFLAGS=-mno-prfchw for pre-2015 Intel processors. #14665
Fixes
OCaml GC ephemeron: Reverted the ephemeron-marking optimisation from #14657, which introduced a data race causing the major GC to loop indefinitely in multi-domain programs. A corrected version is proposed in #14688. #14682
OCaml bigarray: Adds overflow checking to caml_ba_reshape, fixing an out-of-bounds read on 4.14 and an incorrect Out_of_memory exception on 5.x when user-supplied dimensions overflow. #14691
OCaml Power backend: Merged DWARF CFI emission for the Power backend, restoring backtraces and debugger support on ppc64le. This was the last native backend missing CFI. #14482