We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I could guess why it works this way, but I believe this may be misleading in some cases. The test should look like that
$ cat >test2.ml <<EOF > (** some doc *) > let foo ?(pp=(fun _ _ -> ())) () = > Format.pp_print_list pp Format.std_formatter [] > EOF $ cat test2.ml (** some doc *) let foo ?(pp=(fun _ _ -> ())) () = Format.pp_print_list pp Format.std_formatter [] $ ocamlc test2.ml $ $MERLIN single document -position 3:23 -filename test2.ml < test2.ml { "class": "return", "value": "some doc", "notifications": [] } $ $MERLIN single document -position 3:24 -filename test2.ml < test2.ml { "class": "return", "value": "some doc", "notifications": [] } $ $MERLIN single document -position 3:25 -filename test2.ml < test2.ml { "class": "return", "value": "some doc", "notifications": [] }
I reproduced this on 414 branch
The text was updated successfully, but these errors were encountered:
Add a test illustrating issue ocaml#1809
2ca077c
308660d
Thanks for the report and the reproduction @Kakadu
This does look like a bug, I don't see why we would report the function documentation when hovering on one of it's parameter usages.
Sorry, something went wrong.
No branches or pull requests
I could guess why it works this way, but I believe this may be misleading in some cases.
The test should look like that
I reproduced this on 414 branch
The text was updated successfully, but these errors were encountered: