Thanks Rémi. It is discussed in the section “Array Patterns”. But I can call it
out a little more explicitly.
Gavin
> On 29 Jun 2021, at 14:10, Remi Forax wrote:
>
> I was re-reading JEP 405,
> 'var foo' is accepted by the grammar as Type Pattern but
> there is no section explicitly mentioning that.
>
> Maybe i'm wrong and 'var foo' is already supported in Java 17,
> if it's not the case, i think we should add a section about the Type Pattern
> being enhanced to support 'var'.
>
> regards,
> Rémi