[Issue 16997] Integral promotion rules not being followed for negation expressions
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sat Jul 22 03:35:53 PDT 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=16997
--- Comment #8 from Walter Bright <bugzilla at digitalmars.com> ---
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 spec says nothing about unary - or unary +.
  http://dlang.org/spec/expression.html#unary-expression
--
    
    
More information about the Digitalmars-d-bugs
mailing list