gofrontend
gofrontend copied to clipboard
Go compiler frontend (gccgo)
When evaluates x twice in "x op= y", which was detectable if evaluating y affects x. We should identify such cases and evaluate y first. For reference see this bug...
when evaluates x twice in "x op= y", which was detectable if evaluating y affects x. We should identify such cases and evaluate y first. fix golang/go#52811 (https://github.com/golang/go/issues/52811)
In for-range statement, if the range expression is a channel, at most one iteration variable is permitted. The variable should be element not index.