http://d.puremagic.com/issues/show_bug.cgi?id=11314
Summary: inline ice with tuple assignment and if/else again Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: youx...@gmail.com --- Comment #0 from Hisayuki Mima <youx...@gmail.com> 2013-10-21 22:33:43 JST --- This bug may be related to the Issue 11223 ----- module bug; struct Tuple(T...) { T values; void opAssign(typeof(this) rhs) { if(0) values[] = rhs.values[]; else assert(0); } } struct S{} void main() { Tuple!S t; t = Tuple!S(S.init); } ----- $ dmd -inline bug.d dmd: glue.c:1281: virtual unsigned int Type::totym(): Assertion `0' failed. ----- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------