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

Steven Schveighoffer <schvei...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schvei...@yahoo.com

--- Comment #8 from Steven Schveighoffer <schvei...@yahoo.com> ---
(In reply to Iain Buclaw from comment #4)
> OK, got a reduced test:
> 
> ---
> import std.stdio;
> void main()
> {
>     foreach (line; stdin.byLine())
>     {
>     }
> }
> ---
> 
> Only require two lines of stdin with the following constraints:
> 
> #1 Line:  Length >= 510 && Length <= 1021
> #2 Line:  Length == 1023

I can't reproduce this.
I made a file with 2 lines, one is 520 bytes, the other is 1023 bytes (I tried
adding and subtracting one character to the second line in case you were
including newlines in that requirement).

Still works without asserting. This is with 2.067 on OSX.

--

Reply via email to