Why does this not work?
    ketmar via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Sep 17 06:32:40 PDT 2014
    
    
  
On Wed, 17 Sep 2014 13:20:13 +0000
Shachar via Digitalmars-d-learn <digitalmars-d-learn at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140917/dd37ba0d/attachment.sig>
    
    
More information about the Digitalmars-d-learn
mailing list