Summary: Disallow use of comma operator when declaring array
           Product: D
           Version: 1.051
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: DMD

--- Comment #0 from Justin Johansson <> 2009-11-16 13:39:24 
PST ---
Declaring an array using the comma operator can be mistaken for
declaring a multi-dimensional array as such form is common in
other languages.

  int[3,4,5] xyz;
  writefln( "xyz.length=%d", xyz.length);

  xyz.length = 5

Whilst a trivial issue,one would hope that this does not make it into D2.

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

Reply via email to