1
0
mirror of https://github.com/golang/go synced 2024-11-13 20:00:23 -07:00
go/src/cmd/doc
Joe Tsai 6317c213c9 cmd/doc: ensure functions with unexported return values are shown
The commit in golang.org/cl/22354 groups constructors functions under
the type that they construct to. However, this caused a minor regression
where functions that had unexported return values were not being printed
at all. Thus, we forgo the grouping logic if the type the constructor falls
under is not going to be printed.

Fixes #16568

Change-Id: Idc14f5d03770282a519dc22187646bda676af612
Reviewed-on: https://go-review.googlesource.com/25369
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-08-02 03:24:48 +00:00
..
testdata cmd/doc: ensure functions with unexported return values are shown 2016-08-02 03:24:48 +00:00
dirs.go cmd/doc: search the tree in breadth-first order 2015-12-10 18:08:16 +00:00
doc_test.go cmd/doc: ensure functions with unexported return values are shown 2016-08-02 03:24:48 +00:00
main.go cmd/doc: fix pretty printing of paths 2015-09-29 02:18:57 +00:00
pkg.go cmd/doc: ensure functions with unexported return values are shown 2016-08-02 03:24:48 +00:00