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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 11 09:00:59 PDT 2014


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

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
Introduced by https://github.com/D-Programming-Language/phobos/pull/2169.
The regression applies to all of the following std.path methods.
baseName, extSeparatorPos, extension, isRooted, isAbsolute

The fix is to simply add a const(char)[] function as overload, which also saves
some template instantiation in user code.

--


More information about the Digitalmars-d-bugs mailing list