http://d.puremagic.com/issues/show_bug.cgi?id=3940



--- Comment #2 from Ellery Newcomer <[email protected]> 2010-03-13 
08:12:27 PST ---
(In reply to comment #1)
> There isn't an alternate separator on Linux, making a dummy one doesn't make
> much sense.

Then why does there pretend to be one? It's defined as

static if(Posix){
  immutable char[0] altsep;
}

Makes writing portable code more obnoxious. Perhaps an array of separators
could be defined, e.g.

static if(Windows){
  immutable string[] seps = [sep, altsep];
}
static if(Posix){
  immutable string[] seps = [sep]
}

would express the fact a bit more cleanly

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to