RFR: 8302344: Compiler Implementation for Unnamed patterns and variables (Preview) [v15]
Aggelos Biboudis
abimpoudis at openjdk.org
Fri May 5 16:07:24 UTC 2023
On Fri, 5 May 2023 16:01:00 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:
>> This PR implements [JEP 443](https://openjdk.org/jeps/443), the preview feature for Unnamed Patterns and Variables in Java.
>>
>> Draft Spec: https://cr.openjdk.org/~abimpoudis/unnamed/latest/
>
> Aggelos Biboudis has updated the pull request incrementally with one additional commit since the last revision:
>
> Address comments
>
> - Annotate with Preview
> - Fix isUnnamed hierarchy
> - Flow names.empty for underscore in both model and API
> - Adjust pretty printing and annotation pretty printing
> - Fix guard bindings (great catch and thx @lahodaj!)
> - Fix TreeVisitor
> - Remove test with lambda which has a parse error from VarTree (names.empty is used to signal error)
> - Various adjustments
>
> Co-authored-by: Jan Lahoda <jan.lahoda at oracle.com>
Addressed all comments in https://github.com/openjdk/jdk/pull/13528/commits/5d9a1ba74aad4ee95dad6892d40e0aa68e04af18
Thx @lahodaj, @vicente-romero-oracle, @mcimadamore, @jddarcy 🚀🚀🚀
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13528#issuecomment-1536469342
More information about the compiler-dev
mailing list