Open adonovan opened 7 hours ago
#!stacks "bug.Reportf" && "golang.(*renamer).update:+45"
Issue created by stacks.
pgf, ok := enclosingFile(r.pkg, item.node.Pos()) if !ok { bug.Reportf("edit does not belong to syntax of package %q", r.pkg) continue }
This stack 4VHVlA was reported by telemetry:
4VHVlA
gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/golang.(*renamer).update:+45
golang.org/x/tools/gopls/internal/golang.renameObjects:+31
golang.org/x/tools/gopls/internal/golang.renameOrdinary:+99
golang.org/x/tools/gopls/internal/golang.Rename:+18
golang.org/x/tools/gopls/internal/server.(*server).Rename:+17
golang.org/x/tools/gopls/internal/protocol.serverDispatch:+489
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4:+52
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3
runtime.goexit:+0
golang.org/x/tools/gopls@v0.16.2 go1.23.0 darwin/arm64 vscode (1)
Related Issues and Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Issue created by stacks.
This stack
4VHVlA
was reported by telemetry:gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/golang.(*renamer).update:+45
golang.org/x/tools/gopls/internal/golang.renameObjects:+31
golang.org/x/tools/gopls/internal/golang.renameOrdinary:+99
golang.org/x/tools/gopls/internal/golang.Rename:+18
golang.org/x/tools/gopls/internal/server.(*server).Rename:+17
golang.org/x/tools/gopls/internal/protocol.serverDispatch:+489
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4:+52
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3
runtime.goexit:+0