http://d.puremagic.com/issues/show_bug.cgi?id=9759
Summary: compiler segfault in StructLiteral::implicitConvTo(Type*) on invalid code Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@dawg.eu --- Comment #0 from Martin Nowak <c...@dawg.eu> 2013-03-19 11:59:58 PDT --- cat > bug.d << CODE struct Json { union { Json[] m_array; Json[string] m_object; } void opAssign(Json v) { } } void bug() { const(Json) r; r = r.init; } CODE dmd -c bug.d -------- 2.062 correctly rejects the assignment. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------