[Issue 13098] std.path functions no longer works with DirEntry

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jul 14 08:32:22 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13098

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
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")));
}

--


More information about the Digitalmars-d-bugs mailing list