Comment on A subtle bug with Go's errgroupparentComments−broken_broken_OP1yYour are right about shadowing: I just checked and the go specification calls it “redeclaration” and it works as you described:Redeclaration does not introduce a new variable; it just assigns a new value to the originalI added a mention about that in the article. Thank you.
Comments
Your are right about shadowing: I just checked and the go specification calls it “redeclaration” and it works as you described:
I added a mention about that in the article. Thank you.