blob: 62c070bc49a9c013a83e15fd37565006b930ab92 [file]
This test case reproduced a panic due to a bug in objectpath
on recursive interfaces (#70418).
-- go.mod --
module example.com
go 1.18
-- p/p.go --
package p
type Anon = interface{ F() } //@implementation("F")
type I interface {
A(Anon)
Z()
Anon
}