Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Expose uniqueness errors for structured diagnostics

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

    Gavin Gray (@gavinleroy)
  2. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Finalize variable (`any`-field) representations at translation instead of typechecking

    Records and variants containing any store variable representations (e.g. Record_variable) on their type declarations, which we refine to a fixed representation when typechecking a use of such a record. However, in doing so, we currently default any unfilled sort variables to scannable, preventing them from later being inferred to be something else.

    Ryan Tjoa (@rtjoa)
  3. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fix Merlin jump-to-definition in compiler frontend

    When the ocamlfrontend library was introduced, Merlin jump-to-definition broke in the typing/ directory. This PR fixes it by extending the fix from #6694 to build the ocamlfrontend library's .cmts as well.

    Liam Stevenson (@liam923)
  4. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fix `DW_AT_call_{file,line,column}`

    Per the DWARF spec, DW_AT_call_{file,line,column} on an inlined call should correspond to the call-site, not the definition site. There was a bug with the debuginfo where we were taking this from the definition site instead. I have fixed this, and added a test to catch regressions.

    Kevin Svetlitski (@Svetlitski)
  5. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fix a jump to uninitialized data in the debugger

    This fixes a crash in the debugger where it would sometimes attempt to jump to an uninitialized value. Firstly by fixing the thing that caused it to read uninitialized data, but also making it always check whether skiplist find actually succeded (previously it only checked in the debug runtime).

    Jack Rickard (@Skepfyr)
  6. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fix caching of DWARF type DIEs

    Second in the series reducing the size cost of --enable-oxcaml-dwarf-on-compiler (on top of #6915).

    Mark Shinwell (@mshinwell)
  7. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fix dwarf shapes for unboxed versions of types and `unit#`

    We fix two issues:

    Ryan Tjoa (@rtjoa)
  8. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fix incorrect DWARF filepaths

    Previously, if code in app/foo/one.ml made a function call to something defined in app/bar/two.ml, and that function-call was inlined, the filepath for the function defined in app/bar/two.ml would be mistakenly reported as app/foo/two.ml (i.e. correct source file, wrong directory). Similarly, when an external bound in app/foo/one.ml was coerced to a val expo…

    Kevin Svetlitski (@Svetlitski)
  9. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fix leak: Tail-calling local returning function

    Currently, mode-crossing is applied when enforcing a lower bound on the result of an application. As a result, the following program is allowed:

    ainageorges
  10. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fix principal checking in ocamltest

    Recent expect_asm work broke expect-tests for principal outputs, overriding the same expect block, if only one is present, with both non-principal and principal outputs. Properly split the output in those cases. Combine back principal and non-principal cases that are the same.

    dkalinichenko-js
  11. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Flip the match in encode_instruction.ml to compile it faster

    Change match operands, instr to match instr, operands in the arm64 binary emitter.

    Stephen Dolan (@stedolan)
  12. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Freeze & shift dynamic tables

    Previously, it was unsafe to change binding state after freezing the scope, since child fibers are allowed to concurrently read from it. However, we need to support this so that the parent running the with_scope callback / the left child of fork_join can still bind dynamics.

    Max Slater (@TheNumbat)
  13. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Further DWARF improvements for variables and inlined frames

    This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.

    Mark Shinwell (@mshinwell)
  14. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Fuzzer MVP

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

    hwasilewskijs
  15. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Generalize and generalize structure

    Added the generalize and generalize_structure operations, which takes all mode variables above the current level and sets them to the general level.

    ainageorges
  16. Pull requestW35.2026 · 24–30 Augoxcaml/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)
  17. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Implement atomic pointer primitives

    Implement the following new primitives operating on atomic pointers:

    Joe Kerrigan (@joe-kerrigan)
  18. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Implement missing `idx_atomic` operations

    Idx_atomic was missing some operations supported by Atomic.t / Atomic.Loc.

    Joe Kerrigan (@joe-kerrigan)
  19. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Import Typemode error payloads into Merlin

    Summary

    Gavin Gray (@gavinleroy)
  20. Pull requestW35.2026 · 24–30 Augoxcaml/oxcaml

    Import annotation provenance into Merlin

    Summary

    Gavin Gray (@gavinleroy)