[Issue 3337] weird behavior of associative arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 21 21:38:27 PDT 2009


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



--- Comment #2 from David Simcha <dsimcha at yahoo.com> 2009-09-21 21:38:26 PDT ---
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]]);
}

-- 
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