http://bugzilla.gdcproject.org/show_bug.cgi?id=212
Bug ID: 212 Summary: Internal compiler error: in expand, at cgraphunit.c:1942 Product: GDC Version: development Hardware: All OS: All Status: NEW Severity: normal Priority: Normal Component: gdc Assignee: ibuc...@gdcproject.org Reporter: ibuc...@gdcproject.org --- template hasElaborateAssign(S) { enum hasElaborateAssign = is(typeof(S.init.opAssign(rvalueOf!S))) || is(typeof(lvalueOf!S)) ; } T rvalueOf(T)(); T lvalueOf(T)(); /// template TypeTuple(TList...) { alias TypeTuple = TList; } /// template Tuple() { struct Tuple { void opAssign(R)(R) { if (hasElaborateAssign!R) { } } } } /// ref emplaceRef() { static if (!hasElaborateAssign!(Tuple!())) chunk; } /// class TaskPool { void reduce() { Tuple!() seed = void; Tuple!()[] results; foreach(i; TypeTuple!(0, 1)) results[i] = seed; } } --- -- You are receiving this mail because: You are watching all bug changes.