[dmd-beta] Last (really, this time I mean it!) D2 beta 2.057

Jonathan M Davis jmdavisProg at gmx.com
Thu Dec 8 23:48:43 PST 2011


On Friday, December 09, 2011 08:42:26 Andrej Mitrovic wrote:
> I don't get it, I can't build DustMite on 2.057:
> D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\file.d(3710): Error: f
> unction std.file.isDir is deprecated
> 
> But it calls isDir on a string, which should forward to the isDir
> function which isn't deprecated. :s

It's _not_ being called on a string. It's being called on a uint, and the 
version of isDir which took a uint was deprecated with this release (due to 
not being able to overload property functions with non-property functions). 
But the usage wasn't caught, because Phobos is built -d. I'm fixing it now.

- Jonathan M Davis


More information about the dmd-beta mailing list