[Issue 11830] std.stdio.byLine reports extra line if you don't call .front

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 31 03:43:49 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11830



--- Comment #1 from github-bugzilla at puremagic.com 2014-01-31 03:43:47 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/516d4e95ab2dcaf12d4786400c8e5c75310551ca
Fix Issue 11830 - ByLine range length incorrect.

If you don't call `front` on a `ByLine` range then an extra line is reported.
This change ensures the extra line is consumed when only calling `empty`
without `front`.

https://d.puremagic.com/issues/show_bug.cgi?id=11830

https://github.com/D-Programming-Language/phobos/commit/64967c01e2752c6c6e4071d23ad025592e3ae83d
Merge pull request #1883 from Poita/bug11830

Fix Issue 11830 - ByLine range length incorrect.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list