blob: 8f08ca1efe2f057b832e5eb82b36b6f9cb374fd1 [file] [log] [blame]
-- suggestedfix_stub_add_selector_10_23 --
package stub
import "io"
// This file tests that if an interface
// method references a type from its own package
// then our implementation must add the import/package selector
// in the concrete method if the concrete type is outside of the interface
// package
var _ io.ReaderFrom = &readerFrom{} //@suggestedfix("&readerFrom", "refactor.rewrite", "")
type readerFrom struct{}
// ReadFrom implements io.ReaderFrom
func (*readerFrom) ReadFrom(r io.Reader) (n int64, err error) {
panic("unimplemented")
}