RFR: 8302344: Compiler Implementation for Unnamed patterns and variables (Preview) [v13]
Joe Darcy
darcy at openjdk.org
Tue May 9 02:35:30 UTC 2023
On Fri, 5 May 2023 10:38:21 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:
> Note that `Element` does not declare `isUnnamed`.
>
> `isUnnamed` overrides method in `VariableElement` (javax.lang.model.element) via subclass `VarSymbol` in `Symbol`.
I think it is preferable for VarSymbol.isUnnamed to be deleted; it is functionally the same as the default method defined on VariableElement.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13528#discussion_r1188054212
More information about the compiler-dev
mailing list