x/tools/gopls: blank identifiers ("_") show up in Outline view #41654
Labels
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, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insidersgo env
to get the go development environment detailsShare the Go related settings you have added/edited
Describe the bug
Package level blank identifier s("") show up in the Outline view as just "". This looks especially bizarre when setting package level variables from a multivalued return function by discarding one of the returned values.
Here's a screenshot of what I mean:
Steps to reproduce the behavior:
Rendering this
main.go
in the editor shows three _ identifiers in the Outline view:The text was updated successfully, but these errors were encountered: