digitalmars.D.bugs - [Issue 8641] New: Segfault on accessing undefined identifier
- d-bugmail puremagic.com (35/35) Sep 11 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8641
- d-bugmail puremagic.com (20/20) Feb 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=8641
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: nobody puremagic.com ReportedBy: maxim maxim-fomin.ru --- 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: -------
Sep 11 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8641 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice |diagnostic CC| |andrej.mitrovich gmail.com Summary|Segfault on accessing |Multiple errors on |undefined identifier |accessing undefined | |identifier 13:40:30 PST --- Not an ICE since 2.061, however the diagnostic prints out too many errors: test.d(5): Error: undefined identifier isMutable test.d(5): Error: undefined identifier isMutable test.d(5): Error: undefined identifier isMutable test.d(5): Error: undefined identifier isMutable test.d(13): Error: template instance test.MutableConst!(int, false) error instantiating -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 04 2013