http://d.puremagic.com/issues/show_bug.cgi?id=8036
Summary: Zero-length static array of structs with elaborate destructor as struct or class field is rejected Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: verylonglogin....@gmail.com --- Comment #0 from Denis <verylonglogin....@gmail.com> 2012-05-04 19:57:07 MSD --- --- struct S { ~this(){ } } struct S2 { // or class S[0] s; } --- Error: this for ~this needs to be type S not type S[0u] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------