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
Open the following file with an editor that is connected to OCaml LSP 1.17.0, and notice that some functions are missing a code lens, or are missing from the symbol list
Outline (VSCodium), select a different sandbox every time:
5.0.0: style, string_of_style, string_of_style2
5.1.1: style, string_of_style2
Enable all LSP features (Code lens, etc):
5.0.0:
5.1.1:
This seems to indicate that the problem is some change between OCaml 5.0.0 and 5.1.1, the LSP server is the same.
I can understand hiding the code lens (the type annotation is already there), but there is no reason to remove it from the global symbols list, that is a bug.
Also even if it might desirable to hide the code lens when explicit type annotations are available, that behaviour should be consistent across compiler versions.
The text was updated successfully, but these errors were encountered:
Open the following file with an editor that is connected to OCaml LSP 1.17.0, and notice that some functions are missing a code lens, or are missing from the symbol list
(run a
dune clean
before, just in case):Results:
(
space
s
: list symbols)Outline (VSCodium), select a different sandbox every time:
Enable all LSP features (Code lens, etc):
This seems to indicate that the problem is some change between OCaml 5.0.0 and 5.1.1, the LSP server is the same.
I can understand hiding the code lens (the type annotation is already there), but there is no reason to remove it from the global symbols list, that is a bug.
Also even if it might desirable to hide the code lens when explicit type annotations are available, that behaviour should be consistent across compiler versions.
The text was updated successfully, but these errors were encountered: