int x = auto

Ali Çehreli acehreli at yahoo.com
Wed Mar 22 20:58:40 UTC 2023


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



More information about the Digitalmars-d mailing list