https://issues.dlang.org/show_bug.cgi?id=12210

--- Comment #9 from Gerald Jansen <jansen.ger...@gmail.com> ---
Perhaps this is a slightly different issue but it is related so I'll just
mention it here. The example in the section "Convenience" under the paragraph
starting with "Automatic memory management makes for safe, simple, and robust
code.", crashes with message:

Application output: (1 Hangup)
Exiting main.
std.exception.ErrnoException@std/stdio.d(385): Cannot open file `text.txt' in
mode `rb' (No such file or directory)
----------------
... and a bunch of incomprehensible junk (for a casual visitor)

Having examples that don't run is probably worse than no examples. Perhaps the
priority of this issue should be increased. Perhaps the more general issue is
how to continuously test and ensure that all example code highlighted on
dlang.org runs correctly.

--

Reply via email to