[Issue 1929] New: concatenation of multi-dimensional arrays fails when holding static arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 18 11:22:47 PDT 2008


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

           Summary: concatenation of multi-dimensional arrays fails when
                    holding static arrays
           Product: D
           Version: 2.012
          Platform: PC
               URL: http://lists.puremagic.com/pipermail/digitalmars-d/2008-
                    March/033942.html
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: tobias at justdreams.de


en detail:
http://lists.puremagic.com/pipermail/digitalmars-d/2008-March/033942.html
in short:
        int [2][] b =[[0,1],[2,3]];
        b ~= [4,5];    // wrong result as b holds now:
        // [[0 1] [2 3] [4 5] [0 0]]

works fine in 1.028 and gdc as confirmed by some users


-- 



More information about the Digitalmars-d-bugs mailing list