June 06, 2019 [Issue 19944] New: Some examples on std.file docs page raise FileException | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: a@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. -- |
Copyright © 1999-2021 by the D Language Foundation