[Issue 3337] weird behavior of associative arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 21 21:37:02 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3337


David Simcha <dsimcha at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsimcha at yahoo.com


--- Comment #1 from David Simcha <dsimcha at yahoo.com> 2009-09-21 21:37:01 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list