Annoyance with new integer promotion deprecations

Walter Bright newshound2 at digitalmars.com
Sun Feb 18 19:37:57 UTC 2018


On 2/18/2018 11:21 AM, Guillaume Piolat wrote:
> D used to not promote integer like C in the case of -short, -byte, ~ubyte etc. 
> Which is a strange discrepancy as all other integer arithmetic are the same.

It was a bug, plain and simple. Whether it was always there, or was 
inadvertently introduced at some point, I don't know.


More information about the Digitalmars-d mailing list