[Issue 1264] New: anon class in anon delegate in private member == ICE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 14 09:03:04 PDT 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 at users.sf.net
        ReportedBy: default_357-line at 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 at freenode) on mingw/win32 gdc; presumed universal.
Really sucky. Halp please. :(


-- 



More information about the D.gnu mailing list