Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Expose uniqueness errors for structured diagnostics

    let dup x = ((x, x) : @ unique)

    Gavin Gray (@gavinleroy)
  2. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix Linux LLDB debugger tests; run the ARM64 one in CI

    We should test oxcaml-lldb on ARM64; the workflows weren't fetching it and the tests weren't testing it.

    Nick Barnes (@NickBarnes)
  3. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix META files

    Fix installed metadata for compiler and bundled libraries

    Jacob Van Buren (@jvanburen)
  4. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix bug in mode polymorphism printing

    During printing, we want to show an edge between two variables when there is a non-trivial relation between either their monadic or their comonadic bounds. If one part is trivial but the other is not, we construct the missing edge from the trivial bounds check.

    ainageorges
  5. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix fiber preemptibility at creation

    We plan to make preemptable fibers have distinct TLS states, so it no longer makes sense for fibers to change between preemptable and non-preemptable depending on how they're resumed. This PR adds an is_preemptable flag set at creation time and splits the stdlib continuation type into preemptable and non-preemptable.

    Max Slater (@TheNumbat)
  6. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix flambda2 all-value mixed record length in metadata

    When lowering a Pduprecord for all-value mixed record representations, Lambda_to_flambda_primitives.convert_lprim incorrectly uses the number of fields for the Duplicate_block_kind.t's length, rather than the actual size in words. These can differ because such representations can include void and products.

    Ryan Tjoa (@rtjoa)
  7. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix missing aliases for capitalized CMI filenames

    Fix missing aliases for capitalized CMI filenames

    Jacob Van Buren (@jvanburen)
  8. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix mk_is_abstract crash when a cmi is missing

    Fix mk_is_abstract crash when a cmi is missing

    Jacob Van Buren (@jvanburen)
  9. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix quadratic block splitting during register allocation

    While investigating #7209, I ran into another accidentally-quadratic behaviour in the backend.

    Stephen Dolan (@stedolan)
  10. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Fix two typos in flambda2 inlining reports

    I was confused by the flambda2 inlining reports. It turns out that there's a couple of typos in the printing logic so the inlining report is not an exact log of the decisions. (These typos don't affect the actual decisions, which are fine, just the printed report)

    Stephen Dolan (@stedolan)
  11. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Flambda2: Fix wrong comparison function for Read_offset

    Spotted while looking at the code for the indexing primitives.

    Vincent Laviron (@lthls)
  12. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Gc.major_slice N advances GC if N > 0, even in idle

    Since the introduction of the GC idle phase, for some programs, calling Gc.major_slice any number of times, with any slice size, might not advance the GC (without any allocation taking place, the incurred-work counter would not advance, and the completed-work counter would never overtake it, so it might never reach the min_before_mark level and escape the id…

    Nick Barnes (@NickBarnes)
  13. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Ignore DWARF-only labels in the x86 peephole optimizer

    With -gdwarf-inlined-frames, DWARF range labels are inserted into Linear code before emission. The x86 peephole optimizer treated every label as a control-flow barrier, so these labels blocked optimizations such as removing the redundant cmp in:

    ttebbi-janestreet
  14. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Import annotation provenance into Merlin

    Summary

    Gavin Gray (@gavinleroy)
  15. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Import modality-implication exposure into Merlin

    Summary

    Gavin Gray (@gavinleroy)
  16. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Import mode diagnostic changes into Merlin

    Import the compiler producer from #6817 into Merlin with external/merlin/scripts/import-ocaml-source.sh, and keep Merlin's command-line parsing synchronized with -structured-diagnostics.

    Gavin Gray (@gavinleroy)
  17. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Import moregen return-mode changes into Merlin

    Administrative branch: runs external/merlin/scripts/import-ocaml-source.sh to mirror the Ctype changes from #7168 into Merlin's vendored compiler sources. The import applied cleanly with no conflicts.

    Gavin Gray (@gavinleroy)
  18. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Import typed mode-error provenance into Merlin

    Summary

    Gavin Gray (@gavinleroy)
  19. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Import uniqueness-error payloads into Merlin

    Summary

    Gavin Gray (@gavinleroy)
  20. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/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)