www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13098] New: std.path.baseName no longer works with DirEntry

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 puremagic.com
          Reporter: code 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).

--
Jul 11 2014