LDC 0.15.1 released!

Daniel Kozak via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Mon Dec 29 06:46:25 PST 2014


On Monday, 29 December 2014 at 12:43:12 UTC, bearophile wrote:
>> void main() {
>>    import std.stdio: File;
>>    import std.conv: to;
>>    File("data").byLine.front.to!int;
>> }
>
> Is this a bug in my code?

Try:

void main() {
     import std.stdio: File, byLine;
     import std.conv: to;
     File("data").byLine.front.to!int;
}


Seems its try to use byLine from std.net.curl


More information about the digitalmars-d-ldc mailing list