From: Robert Griesemer Date: Thu, 1 Nov 2012 23:27:43 +0000 (-0700) Subject: go/ast: document use of Data field for method objects X-Git-Tag: go1.1rc2~1978 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=048323aa1289a4e59f11ada50d95da61aa978b91;p=gostls13.git go/ast: document use of Data field for method objects R=iant CC=golang-dev https://golang.org/cl/6775093 --- diff --git a/src/pkg/go/ast/scope.go b/src/pkg/go/ast/scope.go index 11e6b13f16..6edb31016e 100644 --- a/src/pkg/go/ast/scope.go +++ b/src/pkg/go/ast/scope.go @@ -76,6 +76,7 @@ func (s *Scope) String() string { // Pkg *Scope package scope // Con int iota for the respective declaration // Con != nil constant value +// Typ *Scope method scope; nil if no methods // type Object struct { Kind ObjKind