digitalmars.D.bugs - [Issue 23348] New: not handling braceless sub structs in initializers
- d-bugmail puremagic.com (23/23) Sep 19 2022 https://issues.dlang.org/show_bug.cgi?id=23348
https://issues.dlang.org/show_bug.cgi?id=23348 Issue ID: 23348 Summary: not handling braceless sub structs in initializers Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bugzilla digitalmars.com struct SS { char a, b[2]; }; struct S { struct SS ss; char d; }; static struct S s = { 1, 2, 3, 4 }; should result in data of 1,2,3,4 but produces 1,2,2,3 --
Sep 19 2022