x/tools/gopls: hover documentation for package level ungrouped var or const is empty #38525
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Use
textDocument/hover
to try to get the documentation for an ungrouped package level var or const (e.g.var Foo = 0
)What did you expect to see?
Documentation for the ungrouped package level var or const
What did you see instead?
Empty documentation for the ungrouped var or const.
It looks like this was previously addressed in #33793, but has since regressed. The documentation is only provided when the var or const is in a group.
FWIW, https://go-review.googlesource.com/c/tools/+/211637/ may be relevant.
The text was updated successfully, but these errors were encountered: