-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: function signature show target alias not type alias when hover on function #37283
New issue
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
Comments
For more information |
Oh, or perhaps it's not work with cgo? |
it's seems it received |
I looked into this more and found the same thing that @wingyplus did, the typechecker is sending back the target alias rather than the type alias. Not sure how gopls can handle this since it just displays the information directly from |
We will probably need to do the same thing that we did for placeholders here (https://golang.org/cl/208497). |
Change https://golang.org/cl/229319 mentions this issue: |
What version of Go are you using (
go version
)?What did you do?
I used gopls with emacs lsp-mode and hover on function name
FromGeo
in h3 library.What did you expect to see?
function signature on hover should return
h3.H3Index
What did you see instead?
It's returns
h3._Ctype_ulonglong
The text was updated successfully, but these errors were encountered: