You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They have been multiple reports regarding weirdness happening when using ppxes. Merlin doesn't do a lot more than calling the ppx on the parse-tree before performing analysis over the result. If the ppx returns incorrect locations in the parse-tree then Merlin cannot work properly and there is not a lot of room for us to improve.
On the other, in this example, hand it looks like the editor should be able to perform some trivial renaming here, except if the file is read-only. It might be worth it to report that issue to the vscode-ocaml-platform people since it feels like the editor should fallback to the built-in renaming system if Merlin cannot provide the occurrences.
The case was from sedlex, which looks like:
The text was updated successfully, but these errors were encountered: