Repository activity
40458 results across all weeks
test(menhir): use Menhir 3.0 for inference regressions
Exercise the #8989 regressions with Menhir 3.0. Follow-up to #16426 and #16432.
Antonio Nuno Monteiro (@anmonteiro)test(preprocess): cover unchecked per-module references
Record missing and excluded per_module references being silently accepted, and cover shared preprocessing/lint mappings in mixed OCaml/Melange libraries. Validation follows separately in anmonteiro#139.
Antonio Nuno Monteiro (@anmonteiro)test(scheduler): repro signal watcher failure during SIGINT cleanup
Replace the Unix SIGCHLD wakeup path in the scheduler with a self-pipe notifier.
Antonio Nuno Monteiro (@anmonteiro)test(scheduler): reproduce lost SIGINT under SIGCHLD load
Extracts and minimizes the macOS lost-SIGINT reproduction from #14023. The test records the current failure on macOS ARM64.
Antonio Nuno Monteiro (@anmonteiro)test(watch): avoid counting eager exec server status messages
The initial eager build can overlap the build forwarded by dune exec, so expecting exactly two watch success messages makes watching-eager-concurrent-exec-command.t flaky.
Rudi Grinberg (@rgrinberg)Add `PPX_DEPS` to merlin configuration to allow `USE_PPX_CACHE` to work when ppx have deps
Everything is in the long title.
Paul-Elliot Anglès d'Auriac (@panglesd)Bad enclosing for constructors applied to arguments
module N = struct
Ulysse (@voodoos)Binding operators don't work in occurrences and locate
Binding operators (let*, and+ etc) don't work in merlin-occurrences or merlin-locate, for various reasons:
mattiaseDocument dump
@trefis showed me that one can do:
Tomasz Kołodziejski (@neojski)Failed to build on Haiku
On Haiku i get the following error when installing merlin.5.8.1-506~preview using OCaml trunk
Kate (@kit-ty-kate)Fix haiku build
This is an attempt at fixing the build on Haiku by using the library flags from ocamlc -config.
Ulysse (@voodoos)Fix outdated merl-an references in CI and Dockerfile.
We were still pointing to Xavier's fork.
Tim ats (@Tim-ats-d)Improve location of some custom operators
This (maybe?) closes #1915.
Brian Ward (@WardBrian)RFC: Implementing Rust's borrow checker as static analysis on top of merlin
I wonder if it's possible to implement a tool to do a static analysis of OCaml program in a similar way to Rust's borrow checker. It seems that merlin has both the AST and the typing information for the whole program (even with cross-references between files). One could augment types with some attributes that will describe the desired semantics with regards …
Konstantin A. Olkhovskiy (@Lupus)Typedtree-based longident retrieval
Now that all the locations of a Longident's components are preserved in the Typedtree, there are many cases where the dreaded reconstruct_identifier heuristic is needed. Reconstruct identifier was re-parsing the longidents, and many issues stemmed from that process, especially in the handling of custom operators which are tricky to parse right out of context…
Ulysse (@voodoos)merlin crash
Hi.
Kihong Heo (@KihongHeo)server crashes when handling "workspace/symbol": uncaught exception
When the neovim client executes the "workspace/symbol" request, I get the following error:
Kento Okura (@kentookura)#14671 with a strict unerasable argument warning
This PR adds a single commit above #14671 which restores the strict warning for optional arguments that are unerasable in some case but moves it to a new strict-unerasable-optional-argument warning which is active by default but can be disabled independently from the original warning, for instance for libraries using a CPS style with optional arguments.
Florian Angeletti (@Octachron)Add Atomic.compare_and_exchange
As suggested in #14889, I added the compare_and_exchange function in Atomic :
JeannalyseAdd parsetree support for wildcards/holes in simple expressions and module expressions
This PR first extends the parser to recognise syntax errors specifically related to invalid uses of _ in more places. It then converts these illegal _ to a new parsetree node, moving the error handling for encountering them to the type checker. The value of this change is that ppxes can both transform parsetrees which include the new node, and also use the O…
David Allsopp (@dra27)