www.digitalmars.com         C & C++   DMDScript  

D - BUG: Properties and implicit conversions of ints

This was a bug with floats once upon a time, but now I've found
that the same is true for ints. The attached example won't compile
with this error message.

C:\projects\code\foo>dmd foo.d
foo.d(25): cannot implicitly convert int() to int

Lars Ivar Igesund
Oct 29 2003