#!stacks
"runtime.sigpanic" && "satisfy.(*Finder).expr:+75"

Issue created by stacks.

    case *ast.SelectorExpr:
        if _, ok := f.info.Selections[e]; ok {
            f.expr(e.X) // selection
        } else {
            return f.info.Uses[e.Sel].Type() // qualified identifier                 <----------- panic 
        }

This is related to https://github.com/golang/go/issues/71572 and https://github.com/golang/go/issues/73109: satisfy was called on ill-typed code; and the resolution is the same: wait for https://github.com/golang/go/issues/70638.

This stack kscqug was reported by telemetry:

golang.org/x/tools/gopls@v0.17.1 go1.23.2 darwin/arm64 vscode (1)

Dups: bgW9pQ aibuLA aJ9H_w x0Q4yQ 7x8J4g 9tBQQA EqiNlQ ae1P8Q jxCFrw lpgZrA P3nHGA CjT0cQ

Comment From: gabyhelp

Related Issues

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

Comment From: jba

Although this issue is in the gopls/backlog milestone, it belongs in the hypothetical milestone "first gopls release after the next Go release (1.25)," since the next Go release should have implemented #70638.

Comment From: adonovan

This stack bgW9pQ was reported by telemetry:

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

Comment From: adonovan

This stack aibuLA was reported by telemetry:

golang.org/x/tools/gopls@v0.17.1 go1.23.3 linux/amd64 vscode (1)

Comment From: adonovan

This stack aJ9H_w was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.24.0 darwin/arm64 vscode (1)

Comment From: adonovan

This stack x0Q4yQ was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.24.0 windows/amd64 other,vscode (2)

This stack 7x8J4g was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.24.0 windows/amd64 other,vscode (1)

Comment From: adonovan

This stack 9tBQQA was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.23.6 linux/amd64 vscode (1)

Comment From: adonovan

This stack EqiNlQ was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.24.0 darwin/arm64 vscode (1)

Comment From: adonovan

This stack ae1P8Q was reported by telemetry:

golang.org/x/tools/gopls@v0.18.0 go1.24.0 linux/amd64 vscode (1)

Comment From: adonovan

This stack jxCFrw was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.24.0 darwin/arm64 vscode (1)

Comment From: adonovan

This stack lpgZrA was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.24.1 linux/amd64 vscode (1)

Comment From: adonovan

This stack P3nHGA was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.24.3 linux/amd64 vscode (1)

Comment From: adonovan

This stack CjT0cQ was reported by telemetry:

golang.org/x/tools/gopls@v0.18.1 go1.23.6 linux/amd64 vscode (2)