March 23, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9803

           Summary: minimallyInitializedArray fails past "1D" depth
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: monarchdodra@gmail.com


--- Comment #0 from monarchdodra@gmail.com 2013-03-23 15:16:12 PDT ---
Example:

//----
    alias T1 = int*[];   //1D
    alias T2 = int*[][]; //2D
    auto t1 = minimallyInitializedArray!T1(10); //Works
    auto t2 = minimallyInitializedArray!T2(10, 10); //Fails
    foreach (p; t1)
        assert(p is null); //OK
    foreach (arr; t2)
        foreach (p; arr)
            assert(p is null); //Fails
//----

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 23, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9803



--- Comment #1 from monarchdodra@gmail.com 2013-03-23 15:17:00 PDT ---
Fixed in:

https://github.com/D-Programming-Language/phobos/pull/1213

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9803


monarchdodra@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|nobody@puremagic.com        |monarchdodra@gmail.com


--- Comment #2 from monarchdodra@gmail.com 2013-07-14 03:45:04 PDT ---
https://github.com/D-Programming-Language/phobos/pull/1413

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 24, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9803


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-10-23 17:18:56 PDT ---
https://github.com/D-Programming-Language/phobos/pull/1498

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home