1
0
mirror of https://github.com/golang/go synced 2024-11-13 20:10:32 -07:00
go/src/cmd/doc
Rob Pike 4e99ed6fef cmd/doc: don't drop const/var block if first entry is unexported
The code assumed that if the first entry was unexported, all the
entries were. The fix is simple: delete a bunch of code.

Fixes #12286.

Change-Id: Icb09274e99ce97df4d8bddbe59d17a5c0622e4c6
Reviewed-on: https://go-review.googlesource.com/14780
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-09-21 16:42:09 +00:00
..
testdata cmd/doc: don't drop const/var block if first entry is unexported 2015-09-21 16:42:09 +00:00
doc_test.go cmd/doc: don't drop const/var block if first entry is unexported 2015-09-21 16:42:09 +00:00
main.go cmd/doc: the builtin package should always show unexported symbols 2015-09-09 19:46:08 +00:00
pkg.go cmd/doc: don't drop const/var block if first entry is unexported 2015-09-21 16:42:09 +00:00