mirror of
https://github.com/golang/go
synced 2024-11-22 21:20:03 -07:00
1cb7f85d74
Now that Luuk's qualified exporting code is in, fixing this bug is trivial. R=ken2 CC=golang-dev https://golang.org/cl/5479048
16 lines
128 B
Go
16 lines
128 B
Go
package p
|
|
|
|
type T struct{ x int }
|
|
type S struct{}
|
|
|
|
func (p *S) get() {
|
|
}
|
|
|
|
type I interface {
|
|
get()
|
|
}
|
|
|
|
func F(i I) {
|
|
i.get()
|
|
}
|