Changing how people use maps, or how the language defines/implements maps, feels like a dead end.
I tried the nil-map-assignment static analysis provided by staticcheck.io, but it didn't find our most bug unfortunately. So maybe we need to think about how to implement better static analysis for this. -- 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/65e2183d-27bd-4430-b88d-cea98d53c277%40googlegroups.com.