You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system and processor architecture are you using (go env)?
N/A
What did you do?
If possible, provide a recipe for reproducing the error.
jnml@4670:~/src/tmp$ echo$GOPATH
/home/jnml
jnml@4670:~/src/tmp$ cat tmp.go
package foo
type t interface {
Public()
}
type T interface {
t
}
jnml@4670:~/src/tmp$ godoc tmp T
What did you expect to see?
use 'godoc cmd/tmp' for documentation on the tmp command
type T interface {
Public()
// contains filtered or unexported methods
}
What did you see instead?
use 'godoc cmd/tmp' for documentation on the tmp command
type T interface {
// contains filtered or unexported methods
}
FTR: Importing the package and calling method Public on an instance of foo.T compiles just fine.
The text was updated successfully, but these errors were encountered:
ianlancetaylor
changed the title
tools/cmd/godoc: Public methods of unexported embedded interfaces not shown.
x/tools/cmd/godoc: public methods of unexported embedded interfaces not shown.
Jun 12, 2016
Please answer these questions before submitting your issue. Thanks!
go version
)?tip @ 3c6b668
go env
)?N/A
If possible, provide a recipe for reproducing the error.
FTR: Importing the package and calling method
Public
on an instance offoo.T
compiles just fine.The text was updated successfully, but these errors were encountered: