blob: f6dff0a3c411bdf17fadd3742e9a44da01a2c911 [file] [log] [blame]
package other
type ImpP struct{} //@mark(OtherImpP, "ImpP")
func (*ImpP) Laugh() { //@mark(OtherLaughP, "Laugh")
}
type ImpS struct{} //@mark(OtherImpS, "ImpS")
func (ImpS) Laugh() { //@mark(OtherLaughS, "Laugh")
}
type ImpI interface {
Laugh()
}
type Foo struct {
}
func (Foo) U() { //@mark(ImpU, "U")
}
type CryType int
const Sob CryType = 1
type Cryer interface {
Cry(CryType) //@implementations("Cry", CryImpl)
}