sync: WaitGroup behaves differently in Go 1.11 #28123
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go version go1.11.1 darwin/amd64
Does this issue reproduce with the latest release?
Yes, if 1.11.1 is still the latest release
What operating system and processor architecture are you using (
go env
)?GOHOSTARCH="amd64"
GOHOSTOS="darwin"
What did you do?
https://goplay.space/#DhhSig-fDHM
What did you expect to see?
The code should run without errors.
The code works with Go 1.10.2
What did you see instead?
The code returned this:
The text was updated successfully, but these errors were encountered: