Probably uninitialized memory or something. I'm also using 2.032, and using the following code:
import std.stdio;
void main() {
int[int[]] t;
t[[1]] = 1;
writeln(t);
}
I get:
[[14]:1]
The point isn't the specific number, but the fact that the number is non-deterministic.
Comment #2 by dsimcha — 2009-09-21T21:38:26Z
Oh yeah, also notable is that this isn't just a bug in converting to string. The following code produces an access violation:
import std.stdio;
void main() {
int[int[]] t;
t[[1]] = 1;
writeln(t[[1]]);
}