http://d.puremagic.com/issues/show_bug.cgi?id=8641
Summary: Segfault on accessing undefined identifier Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: ma...@maxim-fomin.ru --- Comment #0 from Maxim Fomin <ma...@maxim-fomin.ru> 2012-09-11 08:18:43 PDT --- union MutableConst(T, bool isDefaultMutable) { const T c; T i; static if (isMutable) //bug alias i this; else alias c this; } struct S { MutableConst!(int, false) val; } void main() { } DMD produces three times error "hello.d(5): Error: undefined identifier isMutable " and then crashes. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------