[records] Is C-style array declaration in components dropped?

Tagir Valeev amaembo at gmail.com
Sat Sep 19 09:29:07 UTC 2020


Hello!

On Fri, Sep 18, 2020 at 8:47 PM Gavin Bierman <gavin.bierman at oracle.com> wrote:
> Actually it isn’t inconsistent as we need this text to allow for variable arity record component declarations. What is needed is to keep this as it is, but additionally to amend the three bullet points that follow to:
>
> -   the element type that appears at the beginning of the declaration; then,
>
> -   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,
>
> -   any bracket pairs that appear in the type at the beginning of the
>     declaration (where the ellipsis of a variable arity parameter **or variable
>     arity record component** is treated as a bracket pair).
>
> (Text marked **…** is new).

Sounds good, thanks!

With best regards,
Tagir Valeev.

>
> Thanks,
> Gavin


More information about the amber-spec-observers mailing list