September 19, 2022 [Issue 23348] New: not handling braceless sub structs in initializers | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation