[Issue 19077] DirIterator cannot be used as range
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Jul 11 18:03:29 UTC 2018
    
    
  
https://issues.dlang.org/show_bug.cgi?id=19077
Szabo Bogdan <contact at szabobogdan.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
--- Comment #1 from Szabo Bogdan <contact at szabobogdan.com> ---
this is not a bug... it should be like this:
auto range = dirEntries("files/", SpanMode.depth)
        .map!(a => a)
--
    
    
More information about the Digitalmars-d-bugs
mailing list