Thread overview
[Issue 1264] New: anon class in anon delegate in private member == ICE
Jun 14, 2007
d-bugmail
Jun 14, 2007
d-bugmail
Jul 22, 2007
d-bugmail
Feb 25, 2008
d-bugmail
June 14, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1264

           Summary: anon class in anon delegate in private member == ICE
           Product: DGCC aka GDC
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: default_357-line@yahoo.de


interface Fee { void foo(); }
class Farbrausch {
  private Fee Feep() {
    Fee Feekle=null;
    () { Feekle=new class Fee { void foo() { /* whee */ } }; }();
    return Feekle;
  }
}

void main() { }

Causes a compiler crash on my AMD64 gentoo gdc 0.23.
Verified by LeoD (#d@freenode) on mingw/win32 gdc; presumed universal.
Really sucky. Halp please. :(


-- 

June 14, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1264





------- Comment #1 from fvbommel@wxs.nl  2007-06-14 14:18 -------
This was also present in DMD 1.007 (on which GDC 0.23 was based. So it seems to be a frontend bug. Since it's no longer present in DMD 1.015, that would indicate it's already fixed in the frontend and will disappear in the next GDC version (assuming it's based on a recent enough DMD version).


-- 

July 22, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1264


dvdfrdmn@users.sf.net changed:

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




------- Comment #2 from dvdfrdmn@users.sf.net  2007-07-22 11:18 -------
Fixed in svn r132 / release 0.24 by earlier changes


-- 

February 25, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1264





------- Comment #3 from thomas-dloop@kuehne.cn  2008-02-25 05:03 -------
Added to DStress as http://dstress.kuehne.cn/run/i/interface_27_A.d http://dstress.kuehne.cn/run/i/interface_27_B.d http://dstress.kuehne.cn/run/i/interface_27_C.d http://dstress.kuehne.cn/run/i/interface_27_D.d


--