Problem with multi-dimensional associative arrays?
Brian Palmer
d at brian.codekitchen.net
Thu Apr 26 15:57:52 PDT 2007
Carlos Santander Wrote:
>
> Try inserting this between those two lines:
>
> stuff["brian"] = null;
>
> I haven't tested it, but that's how I've always got stuff like that to work.
>
> --
> Carlos Santander Bernal
That worked, thank you! I was trying things like
stuff["brian"] = new int[char[]];
which doesn't compile, I don't know why I didn't think of just setting it to null. Since my original example works with DMD on Windows, though, I think I better still file a bug report.
More information about the D.gnu
mailing list