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: confusing Object method comment #18644

Closed
josharian opened this issue Jan 13, 2017 · 1 comment
Closed

go/types: confusing Object method comment #18644

josharian opened this issue Jan 13, 2017 · 1 comment

Comments

@josharian
Copy link
Contributor

@josharian josharian commented Jan 13, 2017

type Object method Id docs read:

        Id() string     // object id (see Id below)

There is no Id anywhere obvious below. The comment actually refers to func Id, which is immediately below type Object in the actual code.

Some sort of cross-linking inside godoc might help here, as would minor textual changes.

@gopherbot
Copy link

@gopherbot gopherbot commented Jan 17, 2017

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

Loading

@gopherbot gopherbot closed this in d7cabd4 Jan 31, 2017
@golang golang locked and limited conversation to collaborators Jan 31, 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
2 participants