[Issue 13098] std.path functions no longer works with DirEntry
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jul 14 08:41:42 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13098
--- Comment #6 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Kenji Hara from comment #5)
> This code has worked with 2.065, but cannot compile with git-head.
>
> import std.path;
> void main()
> {
> static struct DirEntry { string s; alias s this; }
> assert(isValidFilename(DirEntry("file.ext")));
> }
https://github.com/D-Programming-Language/phobos/pull/2333
--
More information about the Digitalmars-d-bugs
mailing list