On Sun, 27 Oct 2019, 21:31 Dan Kortschak, <d...@kortschak.io> wrote: > This is not necessarily due to races. You can have this exact situation > occurring in single threaded code. I don't think any mention of race > issues was made here. >
The thread subject mentions goroutines and the original message talks specifically about concurrent access, which sounds very much like it's race-related to me. > > On Sun, 2019-10-27 at 08:53 +0000, roger peppe wrote: > > On Sun, 27 Oct 2019, 00:04 Gert, <gert.cuyk...@gmail.com> wrote: > > > > > I believe it's going to be to hard to write a go vet analyser that > > > could > > > warn to detect unintended state change on a array from two > > > different > > > pointers. > > > > > > > Isn't that why we have the race detector? > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups > > > "golang-nuts" group. > > > To unsubscribe from this group and stop receiving emails from it, > > > send an > > > email to golang-nuts+unsubscr...@googlegroups.com. > > > To view this discussion on the web visit > > > > > https://groups.google.com/d/msgid/golang-nuts/30ac16bc-bc70-40a6-bc79-f41e3536d144%40googlegroups.com > > > < > > > > https://groups.google.com/d/msgid/golang-nuts/30ac16bc-bc70-40a6-bc79-f41e3536d144%40googlegroups.com?utm_medium=email&utm_source=footer > > > > > > > . > > > > > > > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAJhgacjs72m7Ozb3ePFJgLUXBAc30mz8FXaVPxP9xLgfPznmfw%40mail.gmail.com.