[Issue 7884] New: std.file.DirIterator.opApply is wrong.
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Apr 10 03:53:41 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7884
           Summary: std.file.DirIterator.opApply is wrong.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2012-04-10 03:54:23 PDT ---
std.file.DirIterator.opApply always returns '1' instead of the result of the
delegate call. This makes it impossible to properly exit from a foreach body
that uses the DirIterator as the aggregate via a return or goto statement.
-- 
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