-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
gopls version: v0.13.1 (go1.20.6)
gopls flags:
update flags: proxy
extension version: 0.39.1
go version: 1.20.6
environment: Visual Studio Code linux
initialization error: undefined
issue timestamp: Thu, 03 Aug 2023 09:57:21 GMT
restart history:
Thu, 03 Aug 2023 09:52:25 GMT: activation (enabled: true)
Thu, 03 Aug 2023 09:55:06 GMT: installation (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
panic: unexpected composite literal type: *git.11.com/ops/sre/ops-portal/pkg/types.IllegalAppList goroutine 55792 [running]: golang.org/x/tools/refactor/satisfy.(*Finder).expr(0xc00b7bb6e0, {0x116d780, 0xc0033361c0}) find.go:389 0xdda golang.org/x/tools/refactor/satisfy.(*Finder).expr(0xc00b7bb6e0, {0x116d780, 0xc003336480}) find.go:372 0xe65 golang.org/x/tools/refactor/satisfy.(*Finder).stmt(0xc00b7bb6e0, {0x116d540%3F, 0xc0033364c0%3F}) find.go:538 0x112a golang.org/x/tools/refactor/satisfy.(*Finder).stmt(0xc00b7bb6e0, {0x116d660%3F, 0xc0039392f0%3F}) find.go:588 0xe45 golang.org/x/tools/refactor/satisfy.(*Finder).Find(0xc00b7bb6e0, 0xc0073e4dc0%3F, {0xc00a3e5800, 0xf, 0x0%3F}) find.go:106 0x1e5 golang.org/x/tools/gopls/internal/lsp/source.(*renamer).satisfy(0xc00a3e5780) rename_check.go:836 0xd3 golang.org/x/tools/gopls/internal/lsp/source.(*renamer).checkMethod(0xc00a3e5780, 0xc007488360) rename_check.go:753 0x3d3 golang.org/x/tools/gopls/internal/lsp/source.(*renamer).check(0xc00a3e5780, {0x1177af8, 0xc007488360}) rename_check.go:105 0x167 golang.org/x/tools/gopls/internal/lsp/source.renameObjects({0x7f5c4d820a00%3F, 0xe92f60%3F}, {0x116ee18%3F, 0xc00908d560%3F}, {0xc000313d58, 0x12}, {0x11750e8, 0xc0089097c0}, {0xc00b779060, 0x1, ...}) rename.go:1031 0x26e golang.org/x/tools/gopls/internal/lsp/source.renameExported({0x116ee18, 0xc00bcc96b0}, {0x117c2f0, 0xc006a3a2c0}, {0xc00a733020, 0x6, 0xef6f8a%3F}, {0xc001030060, 0x2b}, {0xc00c813e90, ...}, ...) rename.go:608 0x259 golang.org/x/tools/gopls/internal/lsp/source.renameOrdinary({0x116ee18, 0xc00bcc96b0}, {0x117c2f0, 0xc006a3a2c0}, {0x116fca0, 0xc007791680}, {0xddc520%3F, 0x0%3F}, {0xc000313d58, 0x12}) rename.go:448 0x8fb golang.org/x/tools/gopls/internal/lsp/source.Rename({0x116ee18%3F, 0xc00bcc9560%3F}, {0x117c2f0, 0xc006a3a2c0}, {0x116fca0, 0xc007791680}, {0x63487e0%3F, 0xc0%3F}, {0xc000313d58, 0x12}) rename.go:234 0x1d7 golang.org/x/tools/gopls/internal/lsp.(*Server).rename(0xd6e580%3F, {0x116ed70, 0xc007f86b90}, 0xc0047e3780) rename.go:29 0x24b golang.org/x/tools/gopls/internal/lsp.(*Server).Rename(0xc0033a34a0%3F, {0x116ed70%3F, 0xc007f86b90%3F}, 0xd6e580%3F) server_gen.go:216 0x25 golang.org/x/tools/gopls/internal/lsp/protocol.serverDispatch({0x116ed70, 0xc007f86b90}, {0x117fe90, 0xc00040eee0}, 0xc00bcc92f0, {0x116f048, 0xc0046d06c0}) tsserver.go:537 0xe05 golang.org/x/tools/gopls/internal/lsp/protocol.ServerHandler.func1({0x116ed70, 0xc007f86b90}, 0xc00bcc92f0, {0x116f048, 0xc0046d06c0}) protocol.go:157 0x90 golang.org/x/tools/gopls/internal/lsp/lsprpc.handshaker.func1({0x116ed70, 0xc007f86b90}, 0xc00bcc92f0, {0x116f048%3F, 0xc0046d06c0%3F}) lsprpc.go:519 0x9f9 golang.org/x/tools/internal/jsonrpc2.MustReplyHandler.func1({0x116ed70, 0xc007f86b90}, 0xc0099baa80, {0x116f048%3F, 0xc0046d06c0%3F}) handler.go:35 0xf6 golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1.2() handler.go:103 0xa3 created by golang.org/x/tools/internal/jsonrpc2.AsyncHandler.func1 handler.go:100 0x20a [Error - 5:57:10 PM]
OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.
<OPTIONAL: ATTACH LOGS HERE>
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.