digitalmars.D.bugs - [Issue 23412] New: void init member detection does not account for
- d-bugmail puremagic.com (27/27) Oct 14 2022 https://issues.dlang.org/show_bug.cgi?id=23412
https://issues.dlang.org/show_bug.cgi?id=23412 Issue ID: 23412 Summary: void init member detection does not account for static arrays Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: safe Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: dkorpel live.nl ```D struct S { int* x = void; } void main() safe { S s0; // error S[1] s1; // no error, but should error as well } ``` --
Oct 14 2022