gotools/gopls/internal/test/marker/testdata/quickfix/stubmethods/issue61830.txt

This test verifies that method stubbing qualifies types relative to the current
package.

-- p.go --
package p

import "io"

type B struct{}

type I interface {
	M(io.Reader, B)
}

type A struct{}

var _ I = &A{} //@quickfix(re"&A..", re"missing method M", stub)
-- @stub/p.go --
@@ -13 +13,5 @@
+// M implements I.
+func (a *A) M(io.Reader, B) {
+	panic("unimplemented")
+}
+