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
sudo-bmitch opened this issue
Feb 16, 2025
· 3 comments
Assignees
Labels
BugReportIssues describing a possible bug in the Go implementation.goplsIssues related to the Go language server, gopls.ToolsThis label describes issues relating to any tools in the x/tools repository.
The text was updated successfully, but these errors were encountered:
sudo-bmitch
added
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
labels
Feb 16, 2025
BugReportIssues describing a possible bug in the Go implementation.goplsIssues related to the Go language server, gopls.ToolsThis label describes issues relating to any tools in the x/tools repository.
modernize version
Installed modernize from commit 32ffaa3103522a0b05609e241d1b03b3b1abb9a6
go env
What did you do?
Running
modernize
from the master branch on my project github.com/regclient/regclient. I believe it is breaking on the following:https://github.com/regclient/regclient/blob/486aedb6664f7a4e098054581347fd89acd97578/cmd/regctl/image.go#L1226-L1234
What did you see happen?
This appears to be triggered by:
https://cs.opensource.google/go/x/tools/+/master:gopls/internal/analysis/modernize/sortslice.go;l=60;drc=a886a1c2ed0dee2af11f465e11bf48b11dda984c
What did you expect to see?
No panics.
Editor and settings
Run from the CLI.
Logs
n/a
The text was updated successfully, but these errors were encountered: