Summary: Array literal assign to array of different length
           Product: D
           Version: 2.041
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-03-13 04:45:14 PST ---
The compiler accepts this with no errors, but this is wrong code:

enum int[1] a = [0, 1];
void main() {}

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

Reply via email to