#!stacks
"sigpanic" && "reflect.(*rtype).common" && "reflect.(*rtype).Implements"

Issue created by stacks.

func (t *rtype) Implements(u Type) bool {
    if u == nil {
        panic("reflect: nil type passed to Type.Implements")
    }
    if u.Kind() != Interface {
        panic("reflect: non-interface type passed to Type.Implements")
    }
    return implements(u.common(), t.common()) // <--- panics because u is nil (or SP is corrupt), but u cannot be nil
}

func (t *rtype) common() *abi.Type {
    return &t.t // <--- panic
}

This stack 2veB9A was reported by telemetry:

golang.org/x/tools/gopls@v0.19.1 go1.24.4 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.)