Community
Participate
Working Groups
Why is the left hand side of an assignment of type expression and not of type Name. I can't come up with a case where the left hand side can be anything else than an Name. This would make treating assignment easier.
I'll see with Jim why he chooses Expression instead of Name. Keep you inform.
JLS2 15.26 - The left hand side is a name, field access, or array access. Name cannot cover array access, although it can the other 2. That's why its Expression.
OK for me to close
Close.