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

          Issue ID: 15184
           Summary: Wrongly shaped array accepted as matrix initializer
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

void main() {
    int[2][2] m = [1, 2, 3, 4];
}

--

Reply via email to