[Issue 18752] New: std.file.read runnable example fails
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 10 11:14:59 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18752
Issue ID: 18752
Summary: std.file.read runnable example fails
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dlang.org
Assignee: nobody at puremagic.com
Reporter: Bastiaan at Veelo.net
Pressing "Run" on https://dlang.org/library/std/file/read.html gives
```
core.exception.AssertError at onlineapp.d(8): Assertion failure
----------------
??:? _d_assertp [0x9dda8549]
??:? _Dmain [0x9dd9cd58]
=== Bypassed ===
std.file.FileException at std/file.d(351): /tmp/deleteme.dmd.unittest.pid24: No
such file or directory
----------------
??:? @safe bool std.file.cenforce!(bool).cenforce(bool, lazy const(char)[],
immutable(char)[], ulong) [0x9ddaeeb7]
??:? @trusted void[] std.file.readImpl(const(char)[], const(char)*, ulong)
[0x9ddad5db]
??:? @safe void[] std.file.read!(immutable(char)[]).read(immutable(char)[],
ulong) [0x9dd9e3ad]
??:? _Dmain [0x9dd9cccc]
=== ~Bypassed ===
/tmp/deleteme.dmd.unittest.pid241234
```
Best regards,
Bastiaan.
--
More information about the Digitalmars-d-bugs
mailing list