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

Comments

Projects
None yet
4 participants
@chai2010
Copy link
Contributor

commented Oct 13, 2015

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

This comment has been minimized.

Copy link
Contributor

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 Oct 13, 2015

@adg adg changed the title tools: improve vet check cmd/vet: improve vet check? Oct 13, 2015

@minux

This comment has been minimized.

Copy link
Member

commented Oct 13, 2015

@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.
You can’t perform that action at this time.