a=1 and then a=2 is totally legal
It is not actually. The assignment happens once (a=1), and a=2 would mean 1=2 which doesn’t match.
a=1 and then a=2 is totally legal
It is not actually. The assignment happens once (a=1), and a=2 would mean 1=2 which doesn’t match.