[Issue 6421] Require initialization of static arrays with array literals not to allocate
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon May 5 05:30:50 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=6421
--- Comment #17 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
(In reply to bearophile_hugs from comment #15)
> For longer arrays counting the items is a bug-prone chore.
You have another bug report opened for exactly that. I'd like to have both
options on the table though. Sometimes count inference is nice, other times you
may want a diagnostic if you miss the count.
--
More information about the Digitalmars-d-bugs
mailing list