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

           Summary: Static arrays and dynamic arrays and std.array.join
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: daniel...@bigpond.com


--- Comment #0 from Daniel Cousens <daniel...@bigpond.com> 2012-10-29 15:18:13 
PDT ---
I imagine this bug is a mere matter of adjusting some templates, but it is a
very common occurence anyway.

The simplest case:
char[5][2] cs;
cs.join(","); // fails

The same case, rewritten to use heap arrays.
char[][] cs = new char[][2];
cs[0] = new char[5];
cs[1] = new char[5];

cs.join(","); // works

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

Reply via email to