[Issue 12260] Improve error of std.stdio.readf when involving whitespace

2018-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12260

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to dmd-cxx at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/afc732661a5cbdd69b22d5bffa57fddab76172ad
Fix Issue 12260 - Improve error of std.stdio.readf when involving whitespace

https://github.com/dlang/phobos/commit/63de27b5308b6bdb4e0489cc53e87e603f0c95cf
Merge pull request #5591 from RazvanN7/Issue_12260

--


[Issue 12260] Improve error of std.stdio.readf when involving whitespace

2017-08-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12260

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/afc732661a5cbdd69b22d5bffa57fddab76172ad
Fix Issue 12260 - Improve error of std.stdio.readf when involving whitespace

https://github.com/dlang/phobos/commit/63de27b5308b6bdb4e0489cc53e87e603f0c95cf
Merge pull request #5591 from RazvanN7/Issue_12260

--


[Issue 12260] Improve error of std.stdio.readf when involving whitespace

2017-07-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12260

Vladimir Panteleev  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=17708

--


[Issue 12260] Improve error of std.stdio.readf when involving whitespace

2017-07-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12260

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/afc732661a5cbdd69b22d5bffa57fddab76172ad
Fix Issue 12260 - Improve error of std.stdio.readf when involving whitespace

https://github.com/dlang/phobos/commit/63de27b5308b6bdb4e0489cc53e87e603f0c95cf
Merge pull request #5591 from RazvanN7/Issue_12260

Fix Issue 12260 - Improve error of std.stdio.readf when involving whitespace
merged-on-behalf-of: Andrei Alexandrescu 

--


[Issue 12260] Improve error of std.stdio.readf when involving whitespace

2017-07-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12260

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||pastuho...@gmail.com

--- Comment #2 from Vladimir Panteleev  ---
*** Issue 15297 has been marked as a duplicate of this issue. ***

--


[Issue 12260] Improve error of std.stdio.readf when involving whitespace

2015-05-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12260

Dave Akers  changed:

   What|Removed |Added

   Severity|enhancement |minor

--


[Issue 12260] Improve error of std.stdio.readf when involving whitespace

2015-05-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12260

Dave Akers  changed:

   What|Removed |Added

 CC||d...@dazoe.net

--- Comment #1 from Dave Akers  ---
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
--

--