>> That's really cool. But I don't think that's actually happening (Or
>> are these the bugs you're talking about?):
>>
>>     byte x,y;
>>     short z;
>>     z = x+y;  // Error: cannot implicitly convert expression
>> (cast(int)x + cast(int)y) of type int to short
>>
>>     // Repeat for ubyte, bool, char, wchar and *, -, /
> 
> http://d.puremagic.com/issues/show_bug.cgi?id=3147 You may want to add
> to it.

Before going too far, consider:

byte x, y, z;
short a;
a = x + y + z;

How far should the logic go?

Reply via email to