Repository activity
40458 results across all weeks
Add regression test: a live region silently breaks [@tail_mod_cons]
Follow-up to the snippet in #6972, which turned out to be an instance of something more general.
tkoukpariAdd slambda evaluation of value kinds
This was almost certainly just accidentally missed when this was first implemented and is necessary for array support.
Jack Rickard (@Skepfyr)Add the (Merlin) Typing-Recovery mechanism directly to the type checker
This PR implements the Typing Recovery mechanism, recently merged into ocaml/ocaml (and superseed #6187), in an appropriate manner. To provide some context, the goal of integrating the recovery mechanism is to reduce the differences between the type checker provided by Merlin and the compiler’s type checker, thereby facilitating the process of upstreaming …
Xavier Van de Woestyne (@xvw)Add two CR-soon to `Cfg_dataflow`
As per title, to be sure to revisit issues
Xavier Clerc (@xclerc)Adding a `-runtime-variant baremetal`
Adding a runtime variant for bare metal and gating most OS-dependent parts on not bare metal. It forces single domain, no threads or signals, has no-op mutexes and malloc-based memory mapping.
Vlad Turcuman (@vladturcuman)Addressable kinds
Add addressability to the kind system, which describes kinds that one will be able to take a pointer to when boxed. For example, a bits64 box will be represented as a block with all data in its body, and thus bits64 is addressable, whereas a bits8 box is represented as a tagged immediate, so bits8 is unaddressable.
Ryan Tjoa (@rtjoa)Alloc mode
Change the alloc_mode (both a left- and right- version) to be a locality mode in Typedtree.ml. This is necessary due to the zapping strategy in mode polymorphism:
ainageorgesAllow Parsetree compiler hooks to edit the AST
The Compiler_hooks module doesn't allow hooks to edit the IRs, because to do so will in general break internal invariants. It's fine for parsetree hooks, though, since that's how ppxs work.
Stephen Dolan (@stedolan)Allow canonical naming of symbols
Follow-up of #6318
Keryan Didier (@Keryan-dev)Allow recursive uses within non-value fields of mixed blocks
The recursive value check marks constructor arguments and record fields in the flat suffix of a mixed block as Dereference, rejecting definitions like:
Ryan Tjoa (@rtjoa)Annotation hint
This PR creates a new leaf hint for annotations. If a mode can be explained by an annotation, the hint will now print the location of the annotation.
ainageorgesAssure young handlers aren't forgotten between update/continue
If you update a major cont to contain minor handlers, then enter the GC, the handlers will be forgotten.
Max Slater (@TheNumbat)Automatically generate an `expect_asm` test for every scalar primitive
James Rayman (@jra4)Avoid building ocamlj during boot-compiler
There's no need to compile ocamlj.opt twice.
Stephen Dolan (@stedolan)Avoid extra shift+tag when accessing fields through idx_atomic
Addresses internal ticket 7717.
Joe Kerrigan (@joe-kerrigan)Backend debuginfo-quality fixes for spills, reloads and inserted blocks
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)Bidirectional type checking for applications
Import ocaml/ocaml#285. Fix some metaprogramming issue?
dkalinichenko-jsBox kinds
Add the box kind constructor. The kind k box indicates the boxed version of a kind k.
Ryan Tjoa (@rtjoa)Bugfix for extension constructor naming
Exceptions and other extension constructors got the wrong name if defined inside an 'include struct ... end' (or similar), because the rootpath used to name the constructor got dropped.
Stephen Dolan (@stedolan)Bump magic number for ox6
Bumps MAGIC_NUMBER__VERSION to 585 for the 5.4.0-ox6 release, together with the result of running external/merlin/scripts/update-magic-numbers.sh 585 5.4.0-ox6 (same shape as #6761).
Zesen Qian (@riaqn)