int x = auto

Sergey kornburn at yandex.ru
Wed Mar 22 22:04:59 UTC 2023


On Wednesday, 22 March 2023 at 20:58:40 UTC, Ali Çehreli wrote:
> On 3/22/23 10:58, Dom Disc wrote:
>
> > After:
> > ```D
> > void fun(
>
> Note: There is no closing parenthesis and a curly brace up 
> there. :)
>
> >     auto t = SomeStruct.init,
> >     auto arr = int[4].init; // if this doesn't work, we
> should fix it
>
> That semicolon suggests you may have missed that the OP is 
> talking about parameter lists. Or maybe not... :)
>
> Ali

Btw it works in parameters list for the array


More information about the Digitalmars-d mailing list