Thicket thicket
ocaml
REPOS 9

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W36.2026 · 31 Aug – 6 Sepocaml/merlin

Features

  • LRgrep error-message integration (open proposal, updated 2026-09-06): Adds declarative syntax-error specifications via parse_errors.lrgrep and a make lrgrep-coverage target. Currently additive; long-term goal is to replace the existing parser error-recovery pipeline. #2072

  • Locate fix for cursor on a different declaration (open proposal, active review): When locate is invoked with an explicit identifier while the cursor sits on another declaration, the lookup no longer short-circuits with "Already at definition point." Reviewers request the fix live in locate.ml rather than in context detection. #2118

Compatibility and Releases

  • Truncated error messages on OCaml 5.04 (open, labelled good first issue): With Merlin 5.7.1-504, multi-line compiler errors (e.g. functor-arity mismatches) display only the final line in the *merlin-errors* buffer. #2080

  • :MerlinOccurrencesProjectWide KeyError (open): The Vim command crashes with a Python KeyError when the definition line is absent from preview_lines_by_file. A sort fix is suggested in the issue. #1832

  • Asynchronous completion for Vim 8 / Neovim (open feature request): The current synchronous omnifunc call blocks the UI for several seconds per keystroke. An async source compatible with asyncomplete or nvim-completion-manager is requested, with the blocking path retained as a Vim 7 fallback. #726

  • Type-directed API search (closed 2026-08-31): The request for Coq-style SearchPattern queries (e.g. "which functions produce type M.t?") is closed without implementation. #459

Fixes

  • Stack overflow on mutually recursive types (closed 2026-08-31): Hovering or running merlin-type-enclosing on types like type a = A | B of int * b and b = a list no longer overflows the stack. Resolved by #1805. #1755, #822

  • Rename with label punning (closed 2026-08-31): Renaming a let binding used as a punned label (let arg = () in f ~arg) previously produced invalid code. The issue is closed; the comment directs users to ocaml-eglot-rename for correct behaviour. #1354