http://d.puremagic.com/issues/show_bug.cgi?id=8819
Summary: void static array should have init built-in propert Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-10-14 09:04:24 PDT --- Following code doesn't work with current dmd (2.060). void main() { alias void[1] T; auto vsa = T.init; } output: test.d(4): Error: void does not have a default initializer I think this is unnecessary restriction and almost a bug. An element of void[1] should have '0' as a default initializer. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------