Repository activity
40458 results across all weeks
Fix typo: pp_option -> pp_print_option
Fix typo: pp_option -> pp_print_option
Volker Diels-Grabsch (@vog)Fix unchaught Equality_trace
During the review of #15052, @Octachron found the following code that raised an uncaught Equality_trace.
Samuel Vivien (@samsa1)Fix with module type precedence
Fixes #14874.
314eterFix write to ring hang in runtime events
Fixes #15043.
Tim McGilchrist (@tmcgilchrist)Fixed escaped Equality_trace
The function Ctype.equal raised a Equality_trace exception when both lists were of different length instead of a Equality exception. This PR fixes this.
Samuel Vivien (@samsa1)Flaky test_dropped_events.ml test failure on aarch64: "Runtime_events: corrupt stream"
The test_dropped_events.ml test located in tests/lib-runtime-events occasionally fails on the aarch64 architecture with the following error:
Anton Farygin (@RiderALT)Hashtbl: add+replace != replace (-> broken invariants & memory leaks)
There is a bug in replace of Hashbl and also Ephemerons. If you add and replace the same value for the same key, the old bindings remain intact, i.e. replace works just like a second add.
Volker Diels-Grabsch (@vog)Implement Dynarray.sort
This PR adds new standard library functions : Dynarray.stable_sort_sub, Dynarray.stable_sort and Dynarray.sort.
JeannalyseIn-prefix tests fail in Windows CI
With errors like:
Olivier Nicole (@OlivierNicole)Make abstract types defined in structures injective
This is a follow-up to #14982 and #14990.
Jacques Garrigue (@garrigue)Make failure in enforce_current_level a fatal error
Reading #14425, I was surprised to see that enforce_current_level, while being defined inside ctype.ml, creates a fresh variable and uses unify_var just to lower the level to current_level.
Jacques Garrigue (@garrigue)Missing minor heap allocations for main domain
The GC statistics emitted at program exit for OCaml (using v=0x400) do not match what is observed using runtime events counters.
Tim McGilchrist (@tmcgilchrist)Move `String.{hash,seeded_hash}` docs out of the wrong section
'twas in the Binary decoding of integers section. Moved to the first "Strings" section.
Antonin Décimo (@MisterDA)OCaml 5.5.0 build failure on Windows
The attempt to upgrade my Windows OCaml installation to 5.5.0 keeps failing, please see the following log. The path C:\\Users\\me\\AppData\\Local\\opam\\default\\lib\\toplevel:stdlib.cmi that it tries to access looks odd.
Andreas Rossberg (@rossberg)Ocamlmklib reverses the order of my -L options.
Alexandre DOUARD (@VecoMr)Re-exporting ADT gets rejected due to arity change
We defining an ADT we might sometimes want to re-expose the related constructors. However this does not always work. For example the following code is accepted :
Samuel Vivien (@samsa1)Recursive module declarations and type constraints parsing inconsistency
I encountered another parsing inconsistency similar to #14874.
314eterRetry curl and validate opam binary
The curl sometimes gets a HTML page rather than the binary we expect. This changes curl to be more insistent about the output and check it matches a SHA512. cc @dra27
Tim McGilchrist (@tmcgilchrist)Runtime events late shutdown
caml_do_exit destroyed the runtime_events ring buffers before the rest of the shutdown sequence ran, so anything emitted after that point was discarded. This PR moves the teardown to the last place where it can still run, which:
Tim McGilchrist (@tmcgilchrist)Runtime events lost words truncation
Changes lost_words from an int to an uint64_t. The lost_events callback reports how far a consumer fell behind, in ring buffer words. The value is computed as a difference of two uint64_t ring positions but the callback takes an int, so it wraps once the gap exceeds INT_MAX, which is quite easy to hit with a modest program.
Tim McGilchrist (@tmcgilchrist)