Draft JEPs: Pattern Matching for switch and Record Patterns

Tagir Valeev amaembo at gmail.com
Mon Oct 3 13:40:44 UTC 2022


Hello!

> Remove support for named record patterns.

This surprises me. Probably there was a discussion about the rationale
behind this change? Could you please point me? Thanks.

With best regards,
Tagir Valeev

On Mon, Oct 3, 2022 at 2:48 PM Gavin Bierman <gavin.bierman at oracle.com> wrote:
>
> Dear all,
>
> The draft JEPs for the next preview of the Pattern Matching for switch and Record Patterns features are now available at:
>
> Pattern matching for switch: https://bugs.openjdk.org/browse/JDK-8294285
> Record Patterns: https://bugs.openjdk.org/browse/JDK-8294078
>
> Comments welcomed!
> Gavin


More information about the amber-dev mailing list