On 04/10/2012 12:54 PM, Dmitry Olshansky wrote:
On 10.04.2012 14:50, 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<dmitry.o...@gmail.com> 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!

Is it still opApply in Phobos?
I mean I did the pull that removed it.


Yes, it is fixed in git head. Sorry for the noise.

Reply via email to