Thread overview
[Issue 1927] New: dmd SEGV when passing invalid symbol as parameter
Mar 18, 2008
d-bugmail
Apr 02, 2009
d-bugmail
Apr 07, 2009
d-bugmail
March 18, 2008
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.


-- 

April 02, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1927





------- Comment #1 from clugdbug@yahoo.com.au  2009-04-02 15:07 -------
Like 1897, this works for me on Windows, DMD 1.042 and 2.027. Probably fixed.


-- 

April 07, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1927


clugdbug@yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--