-
Notifications
You must be signed in to change notification settings - Fork 18k
go/doc: methods on type error are shown in docs #9860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Migrated to golang/gddo#244, sorry for the noise. |
If you declare a type named
|
@adg sorry for being slow, but why is this not working as intended? |
@josharian the package-level |
CL https://golang.org/cl/20610 mentions this issue. |
I made an easy fix for this. go/doc simply drops any methods defined on locally-declared predeclared types, since the types are never exported its methods should never be visible(unless AllDecls is given, of course). |
@griesemer, I added you as a reviewer to CL 20610. Please make a decision for Go 1.7. Thanks. |
Something in this source is making godoc.org do weird things: http://godoc.org/github.com/alphazero/contextual
First guess would be this: https://github.com/alphazero/contextual/blob/1d18e8ac42a5e6e2e65dc02f44b93e48c8170bce/contextual.go#L30
Here's the index as it shows up right now:
Now, that source is silly but this still sounds like a bug in godoc.org.
The text was updated successfully, but these errors were encountered: