Thicket thicket
ocaml
REPOS 9

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

W38.2026 · 14–20 Sepocaml/merlin

Features

  • Typedtree-based longident retrieval (open, by @voodoos): Locate now reads longident component locations directly from the typedtree instead of re-parsing source text. Falls back to the old reconstruct_identifier heuristic only when a type-error makes the longident unavailable. Affects ocaml-lsp/eglot jump-to-definition for custom operators. #2126

  • PPX_DEPS field in .merlin (open, by @panglesd): New configuration key listing PPX dependencies. The PPX cache key now includes these files, so USE_PPX_CACHE invalidates correctly when a dependency changes. Reduces stale-cache rebuilds. #2127

Compatibility and Releases

  • CI/Dockerfile merl-an reference (open): CI and Dockerfile no longer point to a personal fork of merl-an; references updated to the canonical location. #2128

Fixes

  • Haiku build (merged): The C frontend (ocamlmerlin.exe) now links with library flags from ocamlc -config instead of hardcoded arguments, resolving undefined socket/bind/listen symbols on Haiku. Closes #2124. #2125

  • Binding operators in locate/occurrences (closed): let*, and+, and similar binding operators are now resolved by merlin-occurrences and merlin-locate. Previously the lexer used for identifier reconstruction did not recognise the syntax. Closes #1398.

  • Enclosing node for applied constructors (closed): Cursor on N.A 3 now returns the constructor node rather than Texp_const 3, restoring correct context inference. Closes #1128.

  • workspace/symbol LSP crash (closed): The uncaught exception in Cmt_format.read when Neovim issued a workspace/symbol request is resolved. Closes #1860.