https://issues.dlang.org/show_bug.cgi?id=14805

Ivan Kazmenko <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Ivan Kazmenko <[email protected]> ---
Same here.

Maybe it generates an instance of the array at compile time?
Compile-time function execution is known to be slow.

Interestingly,

void main () {auto dummy = new Struct[513 * 513];}

and even

void main () {enum dummy = new Struct[513 * 513];}

compile just fine.

--

Reply via email to