LDC 0.15.1 released!

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


On Monday, 29 December 2014 at 14:46:25 UTC, Daniel Kozak wrote:
> 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

Ok this does not work too, byLine is part of File struct my fault.


More information about the digitalmars-d-ldc mailing list