Bug 22800 – DDOC throw section for writeln is incomplete

Status
NEW
Severity
normal
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-02-21T11:03:34Z
Last change time
2024-12-01T16:39:57Z
Assigned to
No Owner
Creator
basile-z
Moved to GitHub: phobos#10490 →

Comments

Comment #0 by b2.temp — 2022-02-21T11:03:34Z
https://dlang.org/phobos/std_stdio.html#.writeln It states that only `StdioException` can be thrown, which is actually not true, as shown by this ```d import std.stdio; nothrow void hello() { try { writeln("Hello, World!"); } catch (StdioException) {} } ``` or ```d import std.stdio; nothrow void hello() { try { writeln(0); } catch (StdioException) {} } ```
Comment #1 by robert.schadek — 2024-12-01T16:39:57Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10490 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB