digitalmars.D.bugs - [Issue 2974] New: Segfault on auto function
- d-bugmail puremagic.com (33/33) May 13 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2974
- d-bugmail puremagic.com (11/11) Jul 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2974
http://d.puremagic.com/issues/show_bug.cgi?id=2974 Summary: Segfault on auto function Product: D Version: 2.029 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code, patch Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: clugdbug yahoo.com.au Related to 2810, but segfaults instead. --- auto a() { return 0; } typeof(a) X; --- PATCH: -------- --- mtype.c (revision 26) +++ mtype.c (working copy) -1544,7 +1544,7 void TypeNext::checkDeprecated(Loc loc, Scope *sc) { Type::checkDeprecated(loc, sc); - next->checkDeprecated(loc, sc); + if (next) next->checkDeprecated(loc, sc); } ------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 13 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2974 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED 02:56:05 PDT --- Fixed dmd 2.031 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 09 2009