posted 19 years ago
Is the name �ref� in the expression �ref.super()� a primary expression or an expression name?
I think �ref� is an expression name, for the following reason.
If �ref� were a primary expression, it would be one of those things listed in 15.8. So it must be a FieldAccess. If it is a FieldAccess, it has must be one of the three things listed in 15.11. Which it is not.
However, if �ref� is an expression name, it must be one of things described in 6.5.6. Since the name �ref� consists of a single identifier, it is a simple expression name 6.5.6.1. The identifier appears within the scope of a visible parameter declaration? Yes.