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 _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
