On Monday, 25 February 2013 at 13:45:31 UTC, Maxim Fomin wrote:
On Monday, 25 February 2013 at 12:34:05 UTC, monarch_dodra
wrote:
On Monday, 25 February 2013 at 08:20:31 UTC, Josh wrote:
[SNIP]
Josh
Seems like a massive bug in "DirEntry": It doesn't have a
constructor, meaning anybody using "DirEntry" will actually
get DirEntry.init.
The workaround is to use the function "dirEntry", which
returns an initialized DirEntry.
but see http://d.puremagic.com/issues/show_bug.cgi?id=8563
I don't think those have anything to do with each other. 8563 is
a dmd bug, which happens to manifest in DirEntry.
What the OP is experiencing is just a Phobos bug.
Also, 8563 is about the "dirEntr*ies*" range. OP is using a
"dirEntr*y*" object.
So I think we have two different things to fix here.