[Issue 19944] New: Some examples on std.file docs page raise FileException
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 6 16:26:59 UTC 2019
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: nobody at puremagic.com
Reporter: a at b5.re
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.
--
More information about the Digitalmars-d-bugs
mailing list