Thicket thicket
ocaml
REPOS 1

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

W22.2026 · 25–31 Mayocaml/merlin

Features

Merlin (polymorphic variant completion): PR #2075 merged, adding a test that confirms polymorphic variant name completion already works. Closes long-standing issue #298.

Compatibility and Releases

Merlin (Dune module open order): Issue #1900 closed. Merlin reported errors on files that Dune compiled cleanly when two libraries contained same-named modules and -open flags were applied in a different order. Evidence does not specify the resolution.

Merlin (build on Ubuntu 25.04): Issue #1993 closed. opam install merlin failed on Ubuntu 25.04 / OCaml 4.13.1 due to a -Wformat-truncation warning promoted to an error in ocamlmerlin.c. Evidence does not specify the resolution.

Merlin (warning descriptions): PR #2074 closed without merging. The proposed feature to surface compiler warning descriptions was deemed unnecessary because ocamllsp already provides that information.

Fixes

Merlin (signature-help): PR #2067 merged. Signature help now expands type aliases once to reveal the underlying function type, so f : t where type t = int -> unit displays f : int -> unit at the call site. Non-function aliases are left unexpanded.

Merlin (locate in let punnings): PR #2066 is open. In a punned let binding the pattern and expression share a location, causing locate to report "Already at definition point." The proposed fix adds a tie-breaking mechanism to prefer the expression node for locate queries while preserving pattern selection for type-enclosing.

Merlin (refactor-open): Issue #1311 closed. refactor-open previously rewrote an entire record literal instead of a single field label (e.g. { M.i = 1 } became i).

Merlin (locate/occurrences): Issue #1404 closed, confirmed fixed by PR #1757. locate and occurrences previously disagreed on which identifier to target when the cursor sat at a boundary (e.g. on + in x+y).