digitalmars.D.bugs - [Issue 18496] New: Complement expressions now actually int promote
- d-bugmail puremagic.com (23/23) Feb 22 2018 https://issues.dlang.org/show_bug.cgi?id=18496
https://issues.dlang.org/show_bug.cgi?id=18496 Issue ID: 18496 Summary: Complement expressions now actually int promote Product: D Version: D2 Hardware: All URL: http://https://dlang.org/spec/expression.html#compleme nt_expressions OS: All Status: NEW Keywords: spec Severity: normal Priority: P1 Component: dlang.org Assignee: nobody puremagic.com Reporter: schveiguy yahoo.com The spec for integer promotions currently says: "Note: the usual integral promotions are not performed prior to the complement operation." However, while this is currently true, it's a deprecation, and is NOT true with the -transition=intpromote flag. This should be reflected in the spec. Also, there are no notes for any of the other affected unary expressions about integer promotion. Those should be added. --
Feb 22 2018