[Issue 16351] Nonstandard output library causes no-argument writeln() to fail.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Aug 4 06:39:20 PDT 2016


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

--- Comment #1 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/65fe9934b48f5675957794ac41aaca8e14b6344e
Fix issue 16351

When using nonstandard output libraries such as
https://github.com/sickill/stderred argumentless writeln() will fail on
the enforce because it check specifically for a newline to be returned.
Checking instead that the output is not EOF follows the documentation
and allows overridden write() functions from the standard library.

https://github.com/dlang/phobos/commit/ee30556a348aede1d2523cb4d008f7eb0840a8a6
Merge pull request #4709 from andrewbenton/issue_16351

Fix issue 16351

--


More information about the Digitalmars-d-bugs mailing list