You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Jul 28, 2023
Renaming S->T works in a small package, but fails in a larger package (some sort of satisfy bug?), it works on a minimal package. Error message:
[Error - Received] 09:29:05.579 AM #83 regtest/marker.go:44:14: unexpected type object "type parameter S ~[]F" (please report a bug)
findleyr
changed the title
x/tools/gopls: can't rename type parameters
x/tools/gopls: can't rename type parameters when package is imported
Jul 28, 2023
Change https://go.dev/cl/513916 mentions this issue: gopls/inernal/lsp/source: fix renaming of type parameters
findleyr
changed the title
x/tools/gopls: can't rename type parameters when package is imported
x/tools/gopls: "unexpected type object" renaming type parameters
Jul 28, 2023
Forked from #61614, where renaming type parameters doesn't work for valid code. I'll fix.
The text was updated successfully, but these errors were encountered: