digitalmars.D.bugs - [Issue 1927] New: dmd SEGV when passing invalid symbol as parameter
- d-bugmail puremagic.com (26/26) Mar 17 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1927
- d-bugmail puremagic.com (4/4) Apr 02 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1927
- d-bugmail puremagic.com (7/7) Apr 07 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1927
http://d.puremagic.com/issues/show_bug.cgi?id=1927 Summary: dmd SEGV when passing invalid symbol as parameter Product: D Version: 2.012 Platform: PC OS/Version: Linux Status: NEW Keywords: ice-on-invalid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: webmaster villagersonline.com NOTE: This has some similarities to 1897, but seems different to me, so I posted a new bug for this one. dmd 2.012, Linux (Fedora Core 6 x86_64) The following code will cause dmd to SEGV: BEGIN CODE void foo(char c, TPL...)() {} void bar() { foo!('[', baz, ']')(); } END CODE Note that dmd runs just fine if "baz" is changed to a valid symbol. --
Mar 17 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1927 Like 1897, this works for me on Windows, DMD 1.042 and 2.027. Probably fixed. --
Apr 02 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1927 clugdbug yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --
Apr 07 2009