Skip to content
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

go/types: Named.Obj doc is wrong #19249

Closed
willfaught opened this issue Feb 23, 2017 · 4 comments
Closed

go/types: Named.Obj doc is wrong #19249

willfaught opened this issue Feb 23, 2017 · 4 comments
Milestone

Comments

@willfaught
Copy link
Contributor

https://golang.org/pkg/go/types/#Named.Obj documentation is wrong:

TypeName returns the type name for the named type t.
@griesemer
Copy link
Contributor

@willfaught How do you propose I change it?

@griesemer griesemer self-assigned this Feb 23, 2017
@griesemer griesemer added this to the Go1.9 milestone Feb 23, 2017
@willfaught
Copy link
Contributor Author

I'm not sure I understand your question. It should be:

TypeNameObj returns the type name for the named type t.

@griesemer
Copy link
Contributor

@willfaught Of course. Obviously should have had my coffee first... - Thanks.

@gopherbot
Copy link
Contributor

CL https://golang.org/cl/37399 mentions this issue.

@golang golang locked and limited conversation to collaborators Feb 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants