x/tools/internal/lsp: Wrong symbol kind for the textDocument/symbol
.
#31202
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
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?
Get the
textDocument/symbol
for the go source file.What did you expect to see?
For the type alias, lsp should strip off the type alias to get the essential type. And compute the correct symbol based on the essential type.
What did you see instead?
The text was updated successfully, but these errors were encountered: