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: [email protected]
          Reporter: [email protected]

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 ^

--

Reply via email to