[Issue 4094] New: ICE(expression.c): recursive struct templates with type inference

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 15 11:43:18 PDT 2010


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

           Summary: ICE(expression.c): recursive struct templates with
                    type inference
           Product: D
           Version: 2.040
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2010-04-15 11:43:16 PDT ---
A simple variation of bug 4093.

struct Zug(int Z){
    const bahn = Bug4094!(0).hof.bahn;
}

struct Bug4094(int Q){
    Zug!(0) hof;
}

const a = Zug!(0).bahn;
---------
Assertion failure: 'type' on line 6192 in file 'expression.c'

abnormal program termination

-- 
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