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: [email protected]
Reporter: [email protected]
(a ? b : c = 0) is parsed as ((a ? b : c) = 0) in D,
but as (a ? b : (c = 0)) in C and C++.
--
