src/go/doc/testdata/issue62640.2.golden
raw| 1 | // |
| 2 | PACKAGE issue62640 |
| 3 | |
| 4 | IMPORTPATH |
| 5 | testdata/issue62640 |
| 6 | |
| 7 | FILENAMES |
| 8 | testdata/issue62640.go |
| 9 | |
| 10 | TYPES |
| 11 | // |
| 12 | type E struct{} |
| 13 | |
| 14 | // F should be hidden within S because of the S.F field. |
| 15 | func (E) F() |
| 16 | |
| 17 | // |
| 18 | type S struct { |
| 19 | E |
| 20 | F int |
| 21 | } |
| 22 | |
| 23 | // F should be hidden within S because of the S.F field. |
| 24 | func (S) F() |
| 25 |