Hi Gavin, all,

>From 
>http://cr.openjdk.java.net/~gbierman/jep395/jep395-20201204/specs/records-jls.html
> (which is the http://cr.openjdk.java.net/~gbierman/jep395/latest as of 
>writing this),
from the section before introduction, we see that :

"The changes are the same as those in the second preview of Records in Java SE 
15, except for minor editorial changes and the following:
...
Add text to explicitly rule out using C-style array declaration of record 
components (10.2)."

but 10.2 talks about only variable arity record component as reproduced below:

"the array type of the variable is denoted by:
...
any bracket pairs that follow the variable's Identifier in the declarator (not 
applicable for a variable arity parameter or variable arity record component); 
then
..."

Shouldn't the text in the brackets be "(not applicable for a variable arity 
parameter or record component)" ?


Regards,
Manoj


Reply via email to