[Issue 369] New: "immediate"-function types allowed as part of delegate/function types.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 26 05:11:32 PDT 2006


http://d.puremagic.com/issues/show_bug.cgi?id=369

           Summary: "immediate"-function types allowed as part of
                    delegate/function types.
           Product: D
           Version: 0.167
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid, ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: brunodomedeiros+bugz at gmail.com


Similarly to 368, "immediate"-function types allowed as part of
delegate/function types :

--------
void func() { }

int delegate(typeof(func)) dg;
int function(typeof(func)) fp;
typeof(func) delegate() dg2;
typeof(func) function() fp2;

void test() {
    dg2(); // ICE: Internal error: ..\ztc\cod1.c 2331
}
----


-- 




More information about the Digitalmars-d-bugs mailing list