[Issue 18496] New: Complement expressions now actually int promote
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 22 15:45:32 UTC 2018
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 at puremagic.com
Reporter: schveiguy at 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.
--
More information about the Digitalmars-d-bugs
mailing list