[Issue 13056] [2.066.0-b1] Regression: Error: template std.path.baseName cannot deduce function from argument types !()(DirEntry)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 6 14:33:28 PDT 2014


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
A reduced test case:

import std.range;

struct DirEntry
{
    alias name this;

    @property string name();
}

void main()
{
    static assert(isRandomAccessRange!DirEntry);
}

--


More information about the Digitalmars-d-bugs mailing list