[Issue 8428] New: [2.060 beta] ByLine -> Map -> Filter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 24 19:25:10 PDT 2012


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

           Summary: [2.060 beta] ByLine -> Map -> Filter
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2012-07-24 19:25:09 PDT ---
import std.algorithm, std.stdio;

void main() {
    File("").byLine().map!"a"().filter!"a.length"();
}

src\phobos\std\algorithm.d(1142): Error: function
std.algorithm.map!("a").map!(ByLine!(char,char)).map is a nested function and
cannot be accessed from
std.algorithm.filter!("a.length").filter!(Result).filter

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


More information about the Digitalmars-d-bugs mailing list