digitalmars.D.bugs - [Issue 16649] New: Header gen skips parens
- via Digitalmars-d-bugs (20/20) Oct 29 2016 https://issues.dlang.org/show_bug.cgi?id=16649
https://issues.dlang.org/show_bug.cgi?id=16649 Issue ID: 16649 Summary: Header gen skips parens Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: blocker Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: temtaime gmail.com It makes from sign = data.isZero() ? false : sign ^ (y < 0); a sign = data.isZero() ? false : sign ^ y < 0; which gives Error: y < 0 must be parenthesized when next to operator ^ --
Oct 29 2016