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

Dave Akers <d...@dazoe.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d...@dazoe.net

--- Comment #1 from Dave Akers <d...@dazoe.net> ---
Current version of d 2.67.1 will skip the \n, for example the program...
------
void main()
{
    import std.stdio;
    int input;
    readf("%s", &input);
    readf("%s", &input);
}
------
Given the input...
------
1
2
------
Will emit the error...
------
std.conv.ConvException@/usr/include/dlang/dmd/std/conv.d(2013): Unexpected '2'
when converting from type LockingTextReader to type int
------

--

Reply via email to