[Issue 15027] cannot pass arguments of type DirEntry to std.file functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Oct 5 21:02:41 PDT 2015


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

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Rainer Schuetze from comment #6)
> Maybe template argument type deduction should just try the aliased type if
> the struct type itself fails. Doesn't this fit with other rules regarding
> "alias this"?

The trouble is that it fails in the constraint, not the type deduction part.

--


More information about the Digitalmars-d-bugs mailing list