https://d.puremagic.com/issues/show_bug.cgi?id=11691
Summary: can't join pathSplitter with pathSeparator
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Martin Nowak <[email protected]> 2013-12-05 06:13:43 PST ---
cat > bug.d << CODE
import std.range, std.path;
void bug()
{
auto comps = pathSplitter("foo/bar");
auto path = join(comps, pathSeparator);
}
CODE
dmd -c bug
----
This fails because the element type of PathSplitter
is const(C[]) where it should be const(C)[].
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------