[Issue 16997] Integral promotion rules not being followed for negation expressions

2017-07-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16997 Walter Bright changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 16997] Integral promotion rules not being followed for negation expressions

2017-07-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16997 --- Comment #8 from Walter Bright --- Note that the spec says: "Note: unlike in C and C++, the usual integral promotions are not performed prior to the complement operation." http://dlang.org/spec/expression.html#complement_expressions And the s

[Issue 16997] Integral promotion rules not being followed for negation expressions

2017-07-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16997 --- Comment #7 from Walter Bright --- Unary + and unary ~ are also broken in the same way. --

[Issue 16997] Integral promotion rules not being followed for negation expressions

2017-07-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16997 --- Comment #6 from Walter Bright --- *** Issue 17637 has been marked as a duplicate of this issue. *** --

[Issue 16997] Integral promotion rules not being followed for negation expressions

2017-07-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16997 --- Comment #5 from Walter Bright --- https://github.com/dlang/dmd/pull/7013 --

[Issue 16997] Integral promotion rules not being followed for negation expressions

2017-07-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16997 Walter Bright changed: What|Removed |Added Summary|Real-life evidence for |Integral promotion rules |