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: nob...@puremagic.com
          Reporter: schvei...@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.

--

Reply via email to