Initialization of the Associative arrays

baleog maccarka at yahoo.com
Mon Jul 14 07:07:15 PDT 2008


Hello,

Is it a bug that i can't do like this:
int[string] x = ["11":11, "1":1];
Error: cannot implicitly convert expression ("1") of type invariant(char[1u]) to invariant(char[2u])

dmd-2.0.16

Thanks


More information about the Digitalmars-d-learn mailing list