http://d.puremagic.com/issues/show_bug.cgi?id=4781
Summary: Segfault(mtype.c) with forward referenced typeof and .init Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don <clugd...@yahoo.com.au> 2010-09-01 02:20:22 PDT --- typeof(a4781.init) b4781; typeof(7) a4781; --> Segfault on D1 & D2. By contrast, this related case gives a forward reference error followed by a useless "voids have no value" message. typeof(d4781) c4781; typeof(7) d4781; And, this third case also segfaults, but here we have a genuine circular reference which should not compile. auto e4781 = f4781.init; typeof(e4781) f4781; and another circular reference which currently gives a forward reference error. typeof(g4781) h4781; typeof(h4781) g4781; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------