[Issue 23348] New: not handling braceless sub structs in initializers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 19 08:22:26 UTC 2022
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 at puremagic.com
Reporter: bugzilla at 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
--
More information about the Digitalmars-d-bugs
mailing list