[Issue 17417] Deprecate signed integer promotions in bitwise operations

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 23 07:15:36 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17417

--- Comment #2 from anonymous4 <dfj1esp02 at sneakemail.com> ---
Promotion in bitwise operators makes better sense for unsigned integers, but
doesn't make much sense for signed integers, bitwise operators are supposed to
act on bit arrays, which signed integers are not. After deprecation the
compiler should give an error for signed integer promotions in bitwise
operators.

--


More information about the Digitalmars-d-bugs mailing list