#!stacks
"sigpanic" && "mcp.summarizeDiagnostics:+6"

Issue created by stacks.

func summarizeDiagnostics(ctx context.Context, snapshot *cache.Snapshot, w io.Writer, diagnostics []*cache.Diagnostic, fixes map[*cache.Diagnostic]*protocol.CodeAction) error {
    for _, d := range diagnostics {
...     fix, ok := fixes[d]
        if ok {
            diff, err := toUnifiedDiff(ctx, snapshot, fix.Edit.DocumentChanges) <----- SEGV

This stack HZxbeA was reported by telemetry:

golang.org/x/tools/gopls@v0.20.0 go1.24.5 darwin/arm64 other,vscode (1)

Comment From: gabyhelp

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)