Repository activity
40458 results across all weeks
Disallow (max_int + 1) from overflowing to min_int in int literals
This was previously allowed because the lexer used to parse minus signs separately from the rest of the literal. This is no longer the case, so it's pretty easy to remove this surprising behavior.
James Rayman (@jra4)Dissector: link partitions in parallel using `make -j`
Previously link_partitions ran the ld -r invocations sequentially (List.mapi over link_one_partition). For a binary split into N partitions each invocation had to complete before the next could start, even though they are entirely independent.
Nicolas Trangez (@NicolasT)Do naive dependency graph merging in the -reaper-solve entrypoint
The -reaper-solve entry point now reads dependency graphs from input .cmr files and unions them, but without getting rid of the unknown use/source indicators at module boundaries.
Miriam Vellacott (@mirivella)Don't store sorts for function returns
Don't store sorts of function returns in the typed AST, and instead compute the return layouts in lambda. Necessary for any for function returns.
dkalinichenko-jsDox
Dox is a live literate programming environment for OxCaml.
julesjacobsDox
Dox is a live literate programming environment for OxCaml.
julesjacobsDynamic scope extrusion check
This was supposed to be in here for a while.
Jakub Bachurski (@jbachurski)Enable `ocamlformat` in `camlinternalQuote`
Enables ocamlformat in camlinternalQuote files, since it is OxCaml-specific.
Jakub Bachurski (@jbachurski)Expand variables in names of ocamltest actions
This will be primarily useful with #6422, which allows repeating a section of tests with different values for variables.
Luke Maurer (@lukemaurer)Experiment: use simplify instead of Oclassic
For testing only.
Nathanaëlle Courant (@Ekdohibs)Filter out all arguments to runtime C functions in oxcaml dwarf tests
These tests flake quite a lot when hacking on the runtime, and I presume we don't intend to test LLDB's handling of C functions.
Stephen Dolan (@stedolan)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)Fix bug involving effects, callbacks and locals
This is a fix for a tricky GC bug where roots are scanned with the wrong local arenas, since the local C roots need not all come from the same fiber (as the code currently assumes).
Stephen Dolan (@stedolan)Fix code size of mergeable switch
Basile Clément (@bclement-ocp)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:
ainageorgesFix merlin jump to definition
When we recently upgraded dune Merlin recently stopped working properly when working on the compiler. Specifically, it became unable to jump to definition. The issue is due to a change in dune from 3.21.1 to 3.22.0. Here's a fable-written description of what broke and how this PR fixes it:
Liam Stevenson (@liam923)Fix unsound function argument/return sorts in partial GADT matches
Function parameter patterns that partially match on a GADT constructor can narrow the sorts of later parameters, incorrectly using those sorts for the overall function's calling convention.
Ryan Tjoa (@rtjoa)Fix: track record locality when assigning atomic fields
Fixes internal ticket 7649.
Joe Kerrigan (@joe-kerrigan)Flip default for shapes
This PR flips the default format for shapes. This impacts several aspects:
Simon Spies (@spiessimon)Fold Cconst_natint constants into immediate operands (CFG selection)
As per title; we currently match only Cconst_int
Xavier Clerc (@xclerc)