http://d.puremagic.com/issues/show_bug.cgi?id=3765
Summary: User defined types contains few user defined types Product: D Version: 2.040 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: repeate...@gmail.com --- Comment #0 from Masahiro Nakagawa <repeate...@gmail.com> 2010-02-03 05:54:55 PST --- NOTE: This report is minimum sample. Original code is here http://dimerp.web.fc2.com/dx01.d struct S1 // class S1 and union S1 too { union { S2 a; S2 b; } // struct too union { S2 c; } } struct S2 { } // class S2: OK, union S2: crash, DMD crashed when I tried to compile this code. But following codes, changed S1 members, succeeds. struct S1 { union { S2 a; } union { S2 b; } union { S2 c; } } or struct S1 { union { S2 a; S2 b; S2 c; } } Of course. Compiling succeeds if S2 defines before S1. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------