[Issue 9023] New: CTFE: cannot use ~= on an empty AA.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 14 01:33:49 PST 2012


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

           Summary: CTFE: cannot use ~= on an empty AA.
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2012-11-14 01:33:48 PST ---
Reported in bug 4019 comment 3 (Mike van Dongen)
----
enum auto i = test();

int test()
{
    string[][string] s;
    s["a"] ~= "anything";

    return 6;
}


Error: cannot index null array s

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