Repository activity
40458 results across all weeks
Document Printexc gotchas
Fixes #13822
Zachary Vance (@za3k)Document std descriptors set on startup on windows
On Windows, Unix.std{in/out/err} are set on startup. If the streams are redirected (eg by alcotest), then the cached descriptors become stale and using them can result in exceptions.
Nikos Gorogiannis (@ngorogiannis)Emitcode: compute debug_dirs once per source file for significant compilation time improvement on MacOS
While compiling awso on MacOS with cxx-ocaml, I noticed a lot of speedup versus official OCaml was in system time which is not really where the C++ port should have an edge versus OCaml.
Michael Bacarella (@mbacarella)Failure to typecheck open labelled tuple patterns in structures
The following can be observed on trunk.
Alistair (@johnyob)Fix #12301: Fix attributes not applying in some type nodes
fixes #12301
Michał Kosior (@crqch)Fix compact heap skipping pool stats free if no live blocks
Fixes caml_compact_heap skipping free on pool_stats when a heap size class contains no live blocks.
Ezequiel Lewin (@Firgeis)Fix type_newtype from issue #14842
In the second issue described in #14842, @smuenzel observed that the problem comes from an expansion being hidden by the use of Subst.type_expr.
Jacques Garrigue (@garrigue)Fixed conjunctive polymorphic variant tags do not unify with themselves
Original bug ID: 7496
vicunaGenerate native atomic exchange and compare-and-set across all architectures
G'day!
Zane Hambly (@Zaneham)Improve handling of corrupted runtime events streams
Fixes a few places where we could do a better job with corrupted runtime events streams.
Sadiq Jaffer (@sadiqj)Improve typing error messages for Duplicate_constructor and Duplicate_label
This PR is a continuation of work in #15120.
Michał Kosior (@crqch)Keep the extension node of functor types (fixes #14809)
Fixes #14809.
Udaykishore Resu (@udaykishore-resu)Multiple issues in command quoting on Windows (OSEC-2026-24)
Developed jointly with @nojb and very carefully reviewed by @nojb.
Xavier Leroy (@xavierleroy)Optimize Weak.blit into ephemerons with many keys
I made a comment on #15033 about this, but since that is merged figured it would be more efficient to just send a PR.
Josh Berdine (@jberdine)Optimize weak.blit
If an ephemeron has K keys and we ask to blit a sub-range of keys of
Gabriel Scherer (@gasche)Proposal nested record definitions
Since OCaml 4.03, inline records in variant constructors have proven to be a valuable feature. This PR extends the same mechanism to record fields:
David Sancho (@davesnx)Re-implement weak hashsets using open-addressing with linear probing.
The Weak.Make module of the standard library provides "weak hashsets", sets of elements that are only kept alive if something else in the program keeps them alive. The typical use-case is to implement hash-consing: whenever building a new term, look for an equivalent term that would already be in the hashset and use it instead, increasing memory sharing. Has…
Gabriel Scherer (@gasche)Recursive module declarations and type constraints parsing inconsistency
I encountered another parsing inconsistency similar to #14874.
314eterReject extension on module-dependent functor type domain
The Ptyp_functor production parsed an ext_attributes for the module domain but used only the attribute list, silently dropping the extension part (the %ext in (module%ext M : S) -> t).
hhugoSignal handler doesn't run if signal received at the wrong time
When a signal arrives, the C function handle_signal is called, which calls caml_record_signal. This just sets a flag indicating that the corresponding OCaml handler should run at the next opportunity.
Thomas Leonard (@talex5)