Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Fix indexing of byte-element bigarrays by a truncated nativeint/int64

    Since #4428, [tag_int] strips sign extensions from its argument (via [low_bits]) because they do not affect the tagged value. As a consequence, [Tag_imm (Num_conv naked_nativeint -> naked_immediate x)] is emitted as [(x << 1) + 1] where [x] is the raw 64-bit value.

    Xavier Clerc (@xclerc)
  2. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Fix redundant kind annotation on file_descr

    immediate mod contended portable is just immediate, oops

    Aspen Smith (@glittershark)
  3. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Fix some layouts in translcore (including poly variant + or_null bug)

    Transl was providing the wrong layout to transl_exp for polymorphic variant arguments (and to Llet in one place), this fed all the way through to flambda where it miscompiles matches on polymorphic variants containing or_null as it thinks it's non_nullable.

    Jack Rickard (@Skepfyr)
  4. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Fix: strictly_local should enforce locality on the alloc mode

    This PR fixes a bug where expected_mode.strictly_local would enforce locality on the closure mode itself, rather than the allocation mode that now lies below it: alloc_mode < (Alloc.proj_comonadic Areality closure_mode).

    ainageorges
  5. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Fixup jkind annotation checking for `[@@unboxed]` records and variants

    This PR fixes three different kind bugs in typedecl.ml related to [@@unboxed] records and variants. Both these bugs are present only when checking a declaration against its annotation. This is because when an unboxed record/variant is actually used, a codepath in ctype.ml unboxes the types rather than relying on the kinds stored in the declarations.

    Liam Stevenson (@liam923)
  6. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Follow the relation variables and function parameters

    We want to know when the speculative inlining is probably useful. For that we want to track the relation between the arguments and their uses. This is a first step for tracking that relation.

    Pierre Chambart (@chambart)
  7. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Force make to notice when the runtime changes

    At present, if I change a runtime file and then make install (or whatever) then the runtime changes don't make it into the rebuild. I complained to Claude and it made this plausible fix, which needs review from someone who understands the history of the Dune/Make interactions.

    Nick Barnes (@NickBarnes)
  8. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Forward `[@inlined]` attribute on stubs

    This patch fixes the use of [@inlined] on stubs (in particular functor coercions, but also other stubs such as [@unboxable] functions and different kinds of partial applications).

    Basile Clément (@bclement-ocp)
  9. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Functional mode polymorphism

    Integrates all the level-relation operations into type inference to support mode polymorphism. Mode polymorphic variables are functional, and can be printed behind a dedicated extension flag (see below).

    ainageorges
  10. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Functors are affected by modalities

    Let functors (and module aliases) be affected by modalities, both explicitly annotated and default. Apply the same logic we have for value declarations. However, do not change the code for modules.

    dkalinichenko-js
  11. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Fuzzer MVP

    Add fuzzer MVP. Currently only contains a random program generator with a small subset of OxCaml.

    hwasilewskijs
  12. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Get rid of useless [let x = x] bindings from dataflow

    These have been annoying me for a while and I finally stumbled upon the place where they are generated, so, they are gone now.

    Basile Clément (@bclement-ocp)
  13. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Guard pages on ARM64

    Adding guard pages (and therefore --disable-stack-checks) to ARM64.

    Nick Barnes (@NickBarnes)
  14. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Harden and document `Cfg_simplify` and its contracts

    Follow-ups from a correctness review (by Fable) of backend/cfg/cfg_simplify.ml:

    Xavier Clerc (@xclerc)
  15. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Implement atomic pointer primitives

    Implement the following new primitives operating on atomic pointers:

    Joe Kerrigan (@joe-kerrigan)
  16. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Import annotation provenance into Merlin

    Summary

    Gavin Gray (@gavinleroy)
  17. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Improve codegen for `load; tag; zero-extend`

    Done by preferring tag (x & n) to tag x & tag n.

    James Rayman (@jra4)
  18. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Improve runtime events during opportunistic GC work.

    We currently don't generate runtime events appropriately during opportunistic GC work, because each spin wait may run many very small slices, and each generates several events, so the runtime events ring buffer was flooded with them. Prior to this PR, it was possible to turn on these events by setting the GC log level SLICE bit. IMO that was an ugly hack.

    Nick Barnes (@NickBarnes)
  19. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    In the Reaper, rewrite code metadata in advance of rebuilding

    This PR includes commits from #6992 and #7030.

    Miriam Vellacott (@mirivella)
  20. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Include Merlin binaries in the compiler install

    This PR is still far from being ready for review. I'm only creating it to get CI to run.

    Liam Stevenson (@liam923)