https://issues.dlang.org/show_bug.cgi?id=14186

          Issue ID: 14186
           Summary: Silent syntax change from C and C++
           Product: D
           Version: D1 & D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nob...@puremagic.com
          Reporter: dfj1es...@sneakemail.com

(a ? b : c = 0) is parsed as ((a ? b : c) = 0) in D,
but as (a ? b : (c = 0)) in C and C++.

--

Reply via email to