Summary: CommaExpression as an IfCondition
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Kasumi Hanazuki <> 2011-09-20 23:12:02 
PDT ---
The following code is valid according to the spec but rejected by dmd with the
  test.d(3): if (v; e) is deprecated, use if (auto v = e)

Tested with DMD v2.055


void main() {
  int a;
  if(a, true) { }

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to