https://issues.dlang.org/show_bug.cgi?id=15658
b2.t...@gmx.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |b2.t...@gmx.com Hardware|x86_64 |All Assignee|nob...@puremagic.com |b2.t...@gmx.com OS|Linux |All --- Comment #1 from b2.t...@gmx.com --- It's not a UFCS issue: "dirEntries()" doesn't return a range of string. It returns a range of "struct DirEntry{}"which is not a template. Latter in std.file.isFile() this member is called because in @property bool isFile(R)(auto ref R name) if (isConvertibleToString!R) { return name.isFile!(StringTypeOf!R); } it's DirEntry.isFile that get called !! --