On 17/09/14 16:32, ketmar via Digitalmars-d-learn wrote:
On Wed, 17 Sep 2014 13:20:13 +0000
Shachar via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com>
wrote:
From http://dlang.org/type, under Usual Arithmetic Conversions:
4. Else the integer promotions are done on each operand, followed
by:
1. If both are the same type, no more conversions are done.
it's bug in specs, i believe, 'cause compiler promotes smaller types to
int/uint.
I don't understand. Why is this behavior preferrable to the one outlined
by the specs?
Thanks,
Shachar