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

doc: explain NoPos.IsValid() with parentheses. #20294

Closed
iporsut opened this issue May 9, 2017 · 1 comment
Closed

doc: explain NoPos.IsValid() with parentheses. #20294

iporsut opened this issue May 9, 2017 · 1 comment
Labels
Documentation Issues describing a change to documentation. FrozenDueToAge

Comments

@iporsut
Copy link
Contributor

iporsut commented May 9, 2017

I found in "go/token" explain NoPos call method IsValid() with parentheses. I think it should no parentheses NoPos.IsValid().

"go/token/position.go:74"

// associated with it, and NoPos().IsValid() is false. NoPos is always
@gopherbot gopherbot added the Documentation Issues describing a change to documentation. label May 9, 2017
@gopherbot
Copy link
Contributor

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

@golang golang locked and limited conversation to collaborators May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Issues describing a change to documentation. FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

2 participants