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_identifierheuristic only when a type-error makes the longident unavailable. Affectsocaml-lsp/eglot jump-to-definition for custom operators. #2126 -
PPX_DEPSfield in.merlin(open, by @panglesd): New configuration key listing PPX dependencies. The PPX cache key now includes these files, soUSE_PPX_CACHEinvalidates 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 fromocamlc -configinstead of hardcoded arguments, resolving undefinedsocket/bind/listensymbols on Haiku. Closes #2124. #2125 -
Binding operators in locate/occurrences (closed):
let*,and+, and similar binding operators are now resolved bymerlin-occurrencesandmerlin-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 3now returns the constructor node rather thanTexp_const 3, restoring correct context inference. Closes #1128. -
workspace/symbolLSP crash (closed): The uncaught exception inCmt_format.readwhen Neovim issued aworkspace/symbolrequest is resolved. Closes #1860.