[Issue 22991] GC array literals restricted in size
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 26 11:44:42 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22991
--- Comment #5 from kinke <kinke at gmx.net> ---
(In reply to Dennis from comment #2)
> Note that the spec currently says:
>
> > The total size of a static array cannot exceed 16Mb.
>
> https://dlang.org/spec/arrays.html#static-arrays
>
> But `bla` is 32Mb
[I've only used the static array to easily create a huge struct. A struct size
isn't restricted.]
--
More information about the Digitalmars-d-bugs
mailing list