dmd 1.073 and 2.058 release

Nick Sabalausky a at a.a
Thu Feb 16 07:40:02 PST 2012


"Andrea Fontana" <advmail at katamail.com> wrote in message 
news:1329390651.2167.3.camel at ububox...
>Il giorno gio, 16/02/2012 alle 01.29 -0800, Jonathan M Davis ha scritto:
>> On Thursday, February 16, 2012 00:10:20 Caligo wrote:
>> > float x = 1.f;  // GIVES ERROR
>> >
>> > float y = 0.f;  // OK
>> >
>> > what's up with that?  Is that a bug?
>>
>> I would think so.
>>
>Is it trying to call function  f(int x) on 1 with new universal
>syntax? :)

If so, then it *should* be doing the same on 0.f




More information about the Digitalmars-d-announce mailing list