[Issue 13407] Better error message for static array size overflow

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 31 02:56:33 PDT 2014


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

--- Comment #1 from bearophile_hugs at eml.cc ---
(In reply to bearophile_hugs from comment #0)

> test.d(2,28): Error: array 'a' is too much large (512 * 512 * 9 * 9 of
> 'long') to be allocated statically.

Or even:

test.d(2,28): Error: array 'a' is too much large (512 * 512 * 9 * 9 =
21_233_664 of 'long') to be allocated statically.

--


More information about the Digitalmars-d-bugs mailing list