aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/string_test.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2016-02-19 16:36:03 +1100
committerRob Pike <r@golang.org>2016-02-22 23:40:02 +0000
commit108218453a2cd26920f9be899b4a5102e80007a8 (patch)
tree0627a1d54e19e8a997e200e8fa5a92edbd6e75bb /src/runtime/string_test.go
parenta4b833940da77449afd95dc95f8596bae4fa1621 (diff)
downloadgo-108218453a2cd26920f9be899b4a5102e80007a8.tar.xz
cmd/doc: handle embedded fields properly
The structure of the code meant that an embedded field was never checked for export status. We need to check the name of the type, which is either of type T or type *T, and T might be unexported. Fixes #14356. Change-Id: I56f468e9b8ae67e9ed7509ed0b91d860507baed2 Reviewed-on: https://go-review.googlesource.com/19701 Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/runtime/string_test.go')
0 files changed, 0 insertions, 0 deletions