digitalmars.D.bugs - [Issue 18557] New: Types with 0 size should not be usable as aa key
- d-bugmail puremagic.com (17/17) Mar 05 2018 https://issues.dlang.org/show_bug.cgi?id=18557
https://issues.dlang.org/show_bug.cgi?id=18557 Issue ID: 18557 Summary: Types with 0 size should not be usable as aa key types Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: bugzilla digitalmars.com Summary says it all. struct S { } int[S] aa; // should fail to compile --
Mar 05 2018