#!stacks
"gopls/bug" && "(*importReader).objectPathObject:+9"

Issue created by stacks.

// objectPathObject is the inverse of exportWriter.objectPath.
//
// In shallow mode, certain fields and methods may need to be looked up in an
// imported package. See the doc for exportWriter.objectPath for a full
// explanation.
func (r *importReader) objectPathObject() types.Object {
    objPath := objectpath.Path(r.string())
    if objPath == "" {
        return nil
    }
    pkg := r.pkg()
    obj, err := objectpath.Object(pkg, objPath)
    if err != nil {
        if r.p.reportf != nil {
            r.p.reportf("failed to find object for objectPath %q: %v", objPath, err)
        }
    }
    return obj
}

This stack mZwxkA was reported by telemetry:

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