]> Cypherpunks repositories - gostls13.git/commitdiff
go/doc, godoc: don't shadow receiver
authorRobert Griesemer <gri@golang.org>
Thu, 19 Jan 2012 16:52:53 +0000 (08:52 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 19 Jan 2012 16:52:53 +0000 (08:52 -0800)
Fixes #2737.

R=bradfitz
CC=golang-dev
https://golang.org/cl/5553062

src/pkg/go/doc/doc.go

index 112d01f78f66fc9887b9d35a3dc3b4df3433d9c9..0259a6fec9c5929c9eb07e4702175e76ba8867e2 100644 (file)
@@ -36,8 +36,8 @@ type Value struct {
 type Method struct {
        *Func
        // TODO(gri) The following fields are not set at the moment. 
-       Recv  *Type // original receiver base type
-       Level int   // embedding level; 0 means Func is not embedded
+       Origin *Type // original receiver base type
+       Level  int   // embedding level; 0 means Func is not embedded
 }
 
 // Type is the documentation for type declaration.