Comment on A subtle bug with Go's errgroupparentComments−nasretdinov1yIt's only about context _returned by errgroup_ being cancelled, you shouldn't be overwriting it in the way in which it was used by an article, which is really hard to spot due to variable shadowing.−masklinn1yvariable shadowingThere is no shadowing.It's also harder to spot that this is a bad pattern because it's exactly what the package examples currently do.
Comments
It's only about context _returned by errgroup_ being cancelled, you shouldn't be overwriting it in the way in which it was used by an article, which is really hard to spot due to variable shadowing.
There is no shadowing.
It's also harder to spot that this is a bad pattern because it's exactly what the package examples currently do.