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

          Issue ID: 23338
           Summary: braceless subarray initalizers for struct fields fails
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

struct S {
    int a, b[2];
};

static struct S s = { 1, 2, 3 };

Should produce 3 ints, 1, 2, 3, but instead produces 1, 2, 2.

--

Reply via email to