On 04/10/2012 12:50 PM, Timon Gehr wrote:
On 04/10/2012 12:47 PM, Timon Gehr wrote:
On 04/10/2012 12:06 PM, Andrej Mitrovic wrote:
On 4/10/12, Dmitry Olshansky<[email protected]> wrote:
Wake up! dirEntries produce a lazy _range_ and it's not opApply

Sorry? Change DirIterator in std.file to this:
http://pastebin.com/DHvXuFeH


You are doing it wrong.
Use:
if(auto r=dg(s)) return r;
instead.


WTF??! It is actually wrong in Phobos. Bug!

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

Reply via email to