]> Cypherpunks repositories - gostls13.git/commit
go/printer: more accurate comment for incomplete structs/interfaces
authorRobert Griesemer <gri@golang.org>
Thu, 12 May 2011 16:01:50 +0000 (09:01 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 12 May 2011 16:01:50 +0000 (09:01 -0700)
commit82d1a9dce7478abcd9cf5d3fdc94f231f2f7b614
treebd67d7860f3765ae83f01b1f0e1d180157521b15
parentd376935a18fcc5c377b17469ba4073eba80a9af5
go/printer: more accurate comment for incomplete structs/interfaces

A struct or interface type node is marked incomplete if fields or
methods have been removed through any kind of filtering, not just
because entries are not exported.

The current message was misleading in some cases (for instance:
"godoc -src reflect Implements").

This CL requires CL 4527050 .

R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/4529054
src/pkg/go/printer/nodes.go
src/pkg/go/printer/testdata/comments.x