Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: wrong evaluation order for map assignment [Go1.9] #23005
Thank you @JicLotus for the offer, but this issue was already fixed by CL https://go-review.googlesource.com/81817 aka commit dd7cbf3. @randall77 opened this issue as a placeholder for a backport to Go1.9, when Go1.9.3 is being released.
If you'd like to work on some compiler issues there are very many interesting ones https://github.com/golang/go/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+cmd%2Fcompile+in%3Atitle
My opinion is that we should not fix this issue for 1.9.3 (or 1.8.6). It may in some rare cases change the behavior of existing programs (and if it does not change the behavior, it won't do anything). The behavior is a correct fix for the language, but it seems to me unlikely to actually fix a program that is currently working. I think it's better to reserve this kind of change for 1.10 rather than run the risk of breaking programs in a minor release.
To put it another way: chance of breaking a program with 1.9.3: low. Chance of fixing a program with 1.9.3: lower. So, don't backport.