Core covers the OCaml compiler and language RFCs.
Core repository summaries
2 active · 0 unchanged
ocaml/RFCs
PermalinkFeatures
- Constructor unboxing RFC (#14) was updated 2026-10-31 and remains an open proposal. It extends
[@@unboxed]to eliminate the block for unary constructors whose argument types are distinguishable at run-time, reducing allocation and indirection. An undated comment references a rebased implementation in PR #15227; the comment's date cannot be established from the supplied data.
ocaml/ocaml
PermalinkFixes
- #15204 (merged): Pattern matching on a mutated variant field was treated as exhaustive when it was not, causing segfaults. The partiality record now propagates the downgrade correctly.
- #15208, #15213 (merged): Two flambda miscompilations fixed.
-Oclassicalias analysis produced garbage values by treating symbol fields as aliased to the symbol; float-array lifting on a dead GADT branch triggered a fatal error. - #15168 (merged):
Scanf.unescapednow handles octal (\oNNN), uchar (\u{…}), and backslash-space escapes, matching the lexer. Fixes #14930. - Issues #15205, #15189 (open): Native
Atomic.exchangeandAtomic.compare_and_setmiscompile on amd64 when the result register is spilled; regression from #14980. Fixes in progress via #15207 and #15192.
Features
- #15167 (merged):
ocamldepgains a-strictflag that exits non-zero on missing files or parse errors and produces no output on failure. Fixes #15132. - #15227 (open): Head shapes and constructor unboxing extends
[@unboxed]to multi-constructor variant types. Open for review; includes specification and implementation documents.