go/src/cmd/doc
elpinal 0504cd68e6 cmd/doc: suppress the error message for *package.ident embedded in struct type
The current implementation prints a log, "invalid program: unexpected
type for embedded field", when the form *package.ident is embedded in
a struct declaration.

Note that since valid qualified identifiers must be exported, the result
for a valid program does not change.

Change-Id: If8b9d7056c56b6a6c5482eb749168a63c65ef685
Reviewed-on: https://go-review.googlesource.com/84436
Reviewed-by: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-12-20 19:05:19 +00:00
..
testdata cmd/doc: suppress the error message for *package.ident embedded in struct type 2017-12-20 19:05:19 +00:00
dirs.go cmd/doc: continue searching after error reading directory 2016-10-24 15:25:33 +00:00
doc_test.go cmd/doc: suppress the error message for *package.ident embedded in struct type 2017-12-20 19:05:19 +00:00
main.go cmd/doc: print a symbol error on "bytes Foo" 2017-11-19 20:39:12 +00:00
pkg.go cmd/doc: suppress the error message for *package.ident embedded in struct type 2017-12-20 19:05:19 +00:00