D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20882 - Outdated examples in the documentation (std.stdio)
Summary: Outdated examples in the documentation (std.stdio)
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2020-05-30 07:05 UTC by Oleg Bakharev
Modified: 2020-05-30 15:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Oleg Bakharev 2020-05-30 07:05:44 UTC
Outdated examples in std.stdio (probably not only here). For example, in description on auto lockingBinaryWriter(); outdated types of complex numbers are used and the example itself contains errors - the compiler shows that take cannot be used with the range given by recurrence
Comment 1 Dlang Bot 2020-05-30 13:49:20 UTC
@wolframw created dlang/phobos pull request #7508 "fix issue 20882 - Outdated examples in the documentation (std.stdio)" fixing this issue:

- fix issue 20882 - Outdated examples in the documentation (std.stdio)

https://github.com/dlang/phobos/pull/7508
Comment 2 Dlang Bot 2020-05-30 15:47:11 UTC
dlang/phobos pull request #7508 "fix issue 20882 - Outdated examples in the documentation (std.stdio)" was merged into master:

- 372b20ca17c67baf927f4a7defee7b67b4f97ae6 by wolframw:
  fix issue 20882 - Outdated examples in the documentation (std.stdio)

https://github.com/dlang/phobos/pull/7508