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

cmd/vet: improve vet check? #12915

Closed
chai2010 opened this issue Oct 13, 2015 · 2 comments
Closed

cmd/vet: improve vet check? #12915

chai2010 opened this issue Oct 13, 2015 · 2 comments

Comments

@chai2010
Copy link
Contributor

for k, v := range someMap {
    go func() {
        println(k, v) // k, v is a bug?
    }
    func() {
        println(k, v) // k, v is a bug?
    } ()
}

for i := 0; i < N; i++ {
    go func() {
        println(i) // i is a bug?
    }
    func() {
        println(i) // i is a bug?
    } ()
}
@adg
Copy link
Contributor

adg commented Oct 13, 2015

Please be more explicit with your issue reports. I have no idea what you're getting at.

@adg adg closed this as completed Oct 13, 2015
@adg adg changed the title tools: improve vet check cmd/vet: improve vet check? Oct 13, 2015
@minux
Copy link
Member

minux commented Oct 13, 2015 via email

@golang golang locked and limited conversation to collaborators Oct 12, 2016
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

4 participants