[Issue 4019] [CTFE] Adding an item to an empty AA

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 9 02:32:57 PST 2012


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


Mike van Dongen <puremagic at mikevandongen.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |puremagic at mikevandongen.nl
            Version|future                      |D2
         Resolution|FIXED                       |


--- Comment #3 from Mike van Dongen <puremagic at mikevandongen.nl> 2012-11-09 02:32:55 PST ---
It seems that when I use an 2D AA this problem still occurs.
This is the code I used:


enum auto i = test();

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

    return 6;
}


It gives me almost the same error (on Linux x64) the OP had:

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