Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
- OCaml RFC 52 (Implicit source positions): Open proposal for a
loc:[%call_pos]arrow that auto-fills aLexing.positionparameter with the call-site position. Updated 2026-04-03; discussion covers representation choices and performance trade-offs. #52
ocaml/ocaml
PermalinkFeatures
- OCaml trunk: allows unparenthesized application in record update syntax, e.g.
{ Gc.get () with space_overhead = 100 }. Merged in #14692. - OCaml trunk: adds
Dynarray.of_iarrayandDynarray.to_iarray, converting between dynamic and immutable arrays in a single copy. Merged in #14693. - OCaml trunk (proposal): introduces primitive aliases (
external foo = Bar.baz) per RFC #44, letting one primitive reference another's C function and type. Open in #13377. - OCaml trunk (proposal): highlights incompatible subexpressions in type error messages using syntactic and trace-guided passes. Open in #14659.
Fixes
- OCaml trunk: fixes class self-type escape and assertion failures in the object system; backported to 5.5. Merged in #14680 and #14696.
- OCaml trunk: in cleanup-at-exit mode (
OCAMLRUNPARAM=c=1), the runtime now emits a warning and skips resource release when unjoined domains remain, instead of segfaulting. Merged in #14642. - OCaml trunk: fixes a peephole bug where
PUSHENVACC4was never emitted, causing four-argument environment pushes to use the slower two-word form. Merged in #14534. - OCaml trunk (proposal): adds overflow checking to
Bigarray.reshape, fixing an out-of-bounds read (CVE-2026-34353). Open in #14691; issue in #14655.