Skip to content

Conversation

@Tim-ats-d
Copy link
Contributor

This PR adds a test to illustrate the issue #1949 opened by Liam.
I don't know if it deserves to be fixed or if it is planned to be fixed but in doublt. What do you think @voodoos?

@Lucccyo Lucccyo mentioned this pull request Dec 12, 2025
@xvw
Copy link
Collaborator

xvw commented Jan 20, 2026

I think that here, the main issue is that (where the comment is inlay hint:

(* 'a -> 'b -> 'b *) 
let f x y = y

But if you hover y or x, it will be 'a because the type expression is different. So I guess that, since the HoverProvider is in OCaml-LSP, we should probably have a test on OCaml-LSP. (Even I think that this is not something that we can easily fix, or maybe resolving types accros enclosings)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants