[Issue 8090] New: ICE: Assertion failure: 'typen->deco' on line 1703 in file 'cast.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 12 07:56:55 PDT 2012


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

           Summary: ICE: Assertion failure: 'typen->deco' on line 1703 in
                    file 'cast.c'
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-05-12 07:58:21 PDT ---
struct Foo { }

alias bool delegate(Foo w) DG;
DG test;

void main()
{
    // bool[Foo] a;
    test = (Foo w) { return w in a; };
}

ice.d(11): Error: undefined identifier a, did you mean variable w?
Assertion failure: 'typen->deco' on line 1703 in file 'cast.c'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list