digitalmars.D.bugs - [Issue 9023] New: CTFE: cannot use ~= on an empty AA.
- d-bugmail puremagic.com (26/26) Nov 14 2012 http://d.puremagic.com/issues/show_bug.cgi?id=9023
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 puremagic.com ReportedBy: clugdbug yahoo.com.au --- Comment #0 from Don <clugdbug 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: -------
Nov 14 2012