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
Assignees
Milestone

Comments

@willfaught
Copy link
Contributor

@willfaught willfaught commented Feb 23, 2017

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

@griesemer griesemer commented Feb 23, 2017

@willfaught How do you propose I change it?

Loading

@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

@willfaught willfaught commented Feb 23, 2017

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

TypeNameObj returns the type name for the named type t.

Loading

@griesemer
Copy link
Contributor

@griesemer griesemer commented Feb 23, 2017

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

Loading

@gopherbot
Copy link

@gopherbot gopherbot commented Feb 23, 2017

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

Loading

@gopherbot gopherbot closed this in 8ca68c3 Feb 23, 2017
@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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants