x/tools/gopls: completion gives unneeded generic type instantiation snippet #51783
Labels
gopls/completion
Issues related to auto-completion in gopls.
gopls/generics
Issues related to gopls' support for generics
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Completing to "foo" at <> inserts "int(foo[T float64|int](a T))" (ignore the extra type conversion), but most likely the type argument can be inferred so gopls should offer just "foo(a int)" instead.
The text was updated successfully, but these errors were encountered: