mirror of
https://github.com/golang/go
synced 2024-11-21 23:14:40 -07:00
go/doc, godoc: don't shadow receiver
Fixes #2737. R=bradfitz CC=golang-dev https://golang.org/cl/5553062
This commit is contained in:
parent
2a6b4e120a
commit
9e5f62ac0c
@ -36,8 +36,8 @@ type Value struct {
|
|||||||
type Method struct {
|
type Method struct {
|
||||||
*Func
|
*Func
|
||||||
// TODO(gri) The following fields are not set at the moment.
|
// TODO(gri) The following fields are not set at the moment.
|
||||||
Recv *Type // original receiver base type
|
Origin *Type // original receiver base type
|
||||||
Level int // embedding level; 0 means Func is not embedded
|
Level int // embedding level; 0 means Func is not embedded
|
||||||
}
|
}
|
||||||
|
|
||||||
// Type is the documentation for type declaration.
|
// Type is the documentation for type declaration.
|
||||||
|
Loading…
Reference in New Issue
Block a user