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

           Summary: ICE(todt.c) when using a named mixin with an
                    initializer
           Product: D
           Version: 2.031
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: 2kor...@gmail.com


template Magic()
{
    void* magic = null;    // remove = null; and bug disappears
}

struct Item
{
    mixin Magic A;
}

struct Foo(alias S)
{
}

void main()
{
    Foo!(Item.A) bar;
}

Assertion failure: 'type' on line 529 in file 'todt.c'

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

Reply via email to