x/tools/gopls: struct filling breaks with generic items #54836
Labels
FeatureRequest
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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
)?GOHOSTARCH="amd64"
GOHOSTOS="linux"
What did you do?
Open a main.go file and try autofilling these structs:
What did you expect to see?
I did expect
gopls
to autofill these structs without problem when the generic type is provided.What did you see instead?
Error on the first case in my lsp client, no action suggested in the other case.
The text was updated successfully, but these errors were encountered: