]> Cypherpunks repositories - gostls13.git/commit
go/doc: don't treat _ consts as exported
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 3 Feb 2015 23:12:26 +0000 (15:12 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 4 Feb 2015 00:25:54 +0000 (00:25 +0000)
commitaafb5bcaddf1fa917b470cb7f51b8989da894664
treef812676c21bcf3eb01e5125254ccdf27ff5824bb
parentf1d669aee994b28e1afcfe974680565932d25b70
go/doc: don't treat _ consts as exported

golang.org/cl/144110044 made _ consts treated
as exported as a small, safe fix for #5397.
It also introduced issue #9615.

golang.org/cl/2091 then fixed the underlying issue,
which was missing type information when the type
was specified only for _.

This cl reverts the original fix.

Fixes #9615.

Change-Id: I4815ad8292bb5bec18beb8c131b48949d9af8876
Reviewed-on: https://go-review.googlesource.com/3832
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/doc/exports.go
src/go/doc/testdata/blank.0.golden
src/go/doc/testdata/blank.1.golden
src/go/doc/testdata/blank.2.golden
src/go/doc/testdata/blank.go