]> Cypherpunks repositories - gostls13.git/commit
go/doc: propagate types from unexported constants
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 23 Dec 2014 20:10:36 +0000 (12:10 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 6 Jan 2015 00:24:13 +0000 (00:24 +0000)
commit3191a235158233bb6f6d960d7ae0cb925606f817
treedef252eea212125b0c1a9977102c4d7504541b1a
parent43178697db97dbcd95e63be3571b3c68929712b4
go/doc: propagate types from unexported constants

When constants were declared using unexported constants,
the type information was lost when those constants were filtered out.
This CL propagates the type information of unexported constants
so that it is available for display.

This is a follow-up to CL 144110044, which fixed this problem
specifically for _ constants.

Updates #5397.

Change-Id: I3f0c767a4007d88169a5634ab2870deea4e6a740
Reviewed-on: https://go-review.googlesource.com/2091
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