[Issue 13098] New: std.path.baseName no longer works with DirEntry

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 11 08:55:49 PDT 2014


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

          Issue ID: 13098
           Summary: std.path.baseName no longer works with DirEntry
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: code at dawg.eu

This regression was introduced by templating baseName and enforcing
isSomeString for the argument. Previously baseName took a const(char)[]
argument which triggered the implicit conversion of DirEntry to string (via
alias name this).

--


More information about the Digitalmars-d-bugs mailing list