Unmatched static array size assignment

bearophile bearophileHUGS at lycos.com
Wed Apr 13 14:31:05 PDT 2011


Andrej Mitrovic:

> void main()
> {
>     static string[2] szFormat = ["%s, %s"];
> }
> 
> This compiles, but this is buggy code.

Please vote this old bug report of mine, about this problem:
http://d.puremagic.com/issues/show_bug.cgi?id=3849

See also:
http://d.puremagic.com/issues/show_bug.cgi?id=481

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list