[Issue 12210] dlang.org home page example - Run button does not work

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 12 01:09:30 PDT 2015


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

--- Comment #9 from Gerald Jansen <jansen.gerald at 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 at 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.

--


More information about the Digitalmars-d-bugs mailing list