http://d.puremagic.com/issues/show_bug.cgi?id=10646
Summary: [ICE] when casting dynamic array/static array to class reference Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: henn...@still-hidden.de --- Comment #0 from Henning Pohl <henn...@still-hidden.de> 2013-07-15 06:31:45 PDT --- void main() { class C { } C[] csd; C[2] css; auto c1 = cast(C)csd; auto c2 = cast(C)css; } --- test.d(6): Error: e2ir: cannot cast csd of type C[] to type test.main.C test.d(7): Error: e2ir: cannot cast css of type C[2LU] to type test.main.C --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------