Commit 048323aa authored by Robert Griesemer's avatar Robert Griesemer

go/ast: document use of Data field for method objects

R=iant
CC=golang-dev
https://golang.org/cl/6775093
parent 159302f3
...@@ -76,6 +76,7 @@ func (s *Scope) String() string { ...@@ -76,6 +76,7 @@ func (s *Scope) String() string {
// Pkg *Scope package scope // Pkg *Scope package scope
// Con int iota for the respective declaration // Con int iota for the respective declaration
// Con != nil constant value // Con != nil constant value
// Typ *Scope method scope; nil if no methods
// //
type Object struct { type Object struct {
Kind ObjKind Kind ObjKind
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment