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

           Summary: Cannot create arrays of std.algorithm.map
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: dsim...@yahoo.com


--- Comment #0 from David Simcha <dsim...@yahoo.com> 2011-05-06 22:38:00 PDT ---
import std.algorithm;

void main() {
    auto stuff =
        [map!"a * 2"([1, 2, 3]),
         map!"a * 2"([4, 5, 6])
        ];
}

Result on DMD 2.053 beta:

test9.d(5): Error: cannot have array of inner structs Result

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

Reply via email to