1
0
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:
Robert Griesemer 2012-01-19 08:52:53 -08:00
parent 2a6b4e120a
commit 9e5f62ac0c

View File

@ -36,7 +36,7 @@ type Value struct {
type Method struct {
*Func
// 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
}