Bug 367 – Bad ddoc comments in std.stream

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2006-09-25T13:56:00Z
Last change time
2015-06-09T01:31:22Z
Keywords
ddoc, spec
Assigned to
bugzilla
Creator
chris

Comments

Comment #0 by chris — 2006-09-25T13:56:03Z
std.stream line 389: protected bool readEOF = false; /// Indicates whether this stream is at eof /// after the last read attempt. protected bool prevCr = false; /// For a non-seekable stream indicates that /// the last readLine or readLineW ended on a /// '\r' character. this() {} Notice that the last readEOF comment actually goes with prevCr and the last 2 comments of prevCr end up going with the constructor. The resulting documentation is pretty confusing and incorrect.
Comment #1 by bugzilla — 2006-10-04T19:59:03Z
Fixed DMD 0.168