[Issue 6845] ICE in Type::syntaxCopy

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 23 11:17:00 PDT 2011


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



--- Comment #1 from Trass3r <mrmocool at gmx.de> 2011-10-23 11:15:57 PDT ---
This is more like the original problem:

struct Blub
{
//    alias int type;
}

struct Bla(T)
{
    this(T.type t) // doesn't happen with a normal method
    {
    }
}

alias Bla!Blub gg;

Error: no property 'type' for type 'Blub'
Error: T.type is used as a type
1: _error_ 0x1620830
ty = 35
dmd: mtype.c:145: virtual Type* Type::syntaxCopy(): Assertion `0' failed.

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