Article: More hidden treasure in the D standard library

John Colvin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Aug 31 10:21:21 PDT 2015


On Monday, 31 August 2015 at 16:22:36 UTC, Gary Willoughby wrote:
> On Monday, 31 August 2015 at 16:16:15 UTC, John Colvin wrote:
>> why the use of `input.text` instead of just `input` on line 14 
>> of the fizz buzz example?
>
> It doesn't compile.
> Error: mismatched function return type inference of int and 
> string

Doh. Ok, I see why.


More information about the Digitalmars-d-announce mailing list