Open
Description
Full example: https://gopherjs.github.io/playground/#/6geYC_5FAf
In the following code:
x[f()] = g()
f
should be called before g
but isn't. This matters in presence of side-effects.
Spec:
https://golang.org/ref/spec#Assignments
https://golang.org/ref/spec#Order_of_evaluation
cc @dsnet