https://issues.dlang.org/show_bug.cgi?id=14768
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Severity|regression |minor --- Comment #4 from Kenji Hara <[email protected]> --- (In reply to ag0aep6g from comment #3) > The 16MB limit is in the spec. 174762*32*4 bytes is more than 16MB. Good catch. From: http://dlang.org/arrays "The total size of a static array cannot exceed 16Mb. A dynamic array should be used instead for such large arrays." > > index 174762 overflow for static array does not mean anything. There is no > > array access, so how can an overflow occur ? > > I agree that the error message is bad. Downgrade to minor diagnostic issue. --
