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

           Summary: Turn associative array byValue/byKey/byPairs into
                    ranges
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2011-12-21 10:36:46 PST ---
Please, turn associativeArray.byValue(), associativeArray.byKey(),
associativeArray.byPairs() into Ranges. This allows this code to work:


import std.range;
void main() {
    auto aa = [1:["hello", "red"], 2:["blue", "yellow"]];
    auto r2 = join(aa.byValue()); // error
}

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

Reply via email to