Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix pattern matching bug for some unboxed types

    As mentioned in #7450 and #8118 , Parmatch.le_pat and Parmatch.lub were missing some unboxed-types related cases, which could potentially cause miscompilation. This adds the missing cases, and eliminates the wildcard patterns that made the bug easy to write.

    Chris Casinghino (@ccasin)
  2. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix projections from non-`value` `[@@unboxed]` inline records

    For a [@@unboxed] inline-record constructor, the jkind on the declaration and the sort on the constructor are incorrectly always value, causing errors for programs such as:

    Ryan Tjoa (@rtjoa)
  3. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix rdpmc results allocated to rdx

    As per title; the fix is to factor out the codes

    Xavier Clerc (@xclerc)
  4. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix types for tags in variant unboxing

    Straightforward fix:

    Vincent Laviron (@lthls)
  5. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix typo in CI job (backend)

    The current parameter does not exist,

    Xavier Clerc (@xclerc)
  6. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix: less eager forcing of addresses during typing

    In #7833, I sought to relax the restriction that module signatures contain only

    Joe Kerrigan (@joe-kerrigan)
  7. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Flambda 2: compile instantiations of templates as code without closures

    The code of an instantiation of a template ([Lambda.Lcode]) has no free

    Jack Rickard (@Skepfyr)
  8. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Flambda 2: export the types of templates' environments

    The type of a template's environment, recorded at its definition as the

    Jack Rickard (@Skepfyr)
  9. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Flambda 2: optimise instantiations using their template's environment

    Closure conversion now compiles [Ptemplate_env] as the allocation of the

    Jack Rickard (@Skepfyr)
  10. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    Float32.of_string mis-rounds hexadecimal subnormals

    Hexadecimal subnormals come out one ulp away from the correctly rounded value, and for 0x1000001p-174 a positive nonzero literal becomes +0.0:

    KC Sivaramakrishnan (@kayceesrk)
  11. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Generate the laws of functors

    Building on #8063, this PR adds support for functors with laws inside of them. It does not currently support generative functors.

    Simon Spies (@spiessimon)
  12. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Give generic arrays dynamic size

    A let rec-bound array literal whose element type is not statically known (Pgenarray) is classified as Static, so it is pre-allocated with caml_alloc_dummy as an ordinary scannable block and filled in later by caml_update_dummy. If the elements turn out to be floats, the update retags the block as Double_array_tag and stores unboxed floats in it. This can cau…

    Nick Barnes (@NickBarnes)
  13. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Grow the mark stack when compression cannot make room

    realloc_mark_stack can return without making room on the mark stack. mark_stack_push_range then writes past the end of the stack, and keeps doing so on every later push, because it only reallocates when count == size.

    Nick Barnes (@NickBarnes)
  14. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Hide irrelevant type leaves in subsumption errors

    Subsumption errors are currently very verbose. The general shape of a subsumption error is as follows:

    ainageorges
  15. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Hide modes when irrelevant in subsumption errors

    Subsumption error messages are currently very verbose: they print the full type of the subject and pattern, including a lot of details that might be irrelevant to the current subsumption error. For example, when a subsumption error is about types rather than modes it is not useful to print the modes of that particular function. This is especially important …

    ainageorges
  16. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Identify the CFG entry explicitly in CSE

    After https://github.com/oxcaml/oxcaml/pull/7836 guarantees no dead trap

    Xavier Clerc (@xclerc)
  17. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Ignore debuginfos when comparing terms unless dwarf may alter codegen

    Fixes #8111

    Basile Clément (@bclement-ocp)
  18. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Implement `-Hx`, `-open-cmi-x`, and friends

    -Ix tells the compiler about the include path for a direct dependency, promising that the *.cmx files are present for static evaluation. (If you pass -I instead, the compiler marks modules dynamic so they cannot be used statically.)

    Joe Kerrigan (@joe-kerrigan)
  19. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Improve the slambda value missing error messages

    This adds locations and a reason to all the slambda value missing error messages, which should make them easier to debug.

    Jack Rickard (@Skepfyr)
  20. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Improve unboxed assignment errors

    Currently, if we try to assign to a mutable field of an unboxed record, we get an error that blames the boxedness and not the mutability. This can be confusing, especially for new users of these features.

    Zack Eisbach (@zackbach)