https://issues.dlang.org/show_bug.cgi?id=19944
Issue ID: 19944
Summary: Some examples on std.file docs page raise
FileException
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dlang.org
Assignee: [email protected]
Reporter: [email protected]
For example, pressing "Run" on the example for timeLastModified causes the
following error:
std.file.FileException@/dlang/dmd/linux/bin64/../../src/phobos/std/file.d(1675):
/tmp/deleteme.dmd.unittest.pid25: No such file or directory
Changing deleteme.write("bb") to std.file.write(deleteme, "bb") causes it to
work (and phobos unittests still pass), but I'm not sure why.
Another one that fails using the same pattern is the 2nd example of
mkdirRecurse.
--