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

           Summary: Assertion failure on struct.c:741
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: youx...@gmail.com


--- Comment #0 from Hisayuki Mima <youx...@gmail.com> 2013-07-07 03:10:05 JST 
---
template Template(){}

struct Struct(alias T){}

alias bar = foo!(Template!());

template foo(alias T)
{
    alias foobar = Struct!T;

    void fun() {
        alias a = foo!T;
    }
}

The above code compiled, dmd v2.064-devel-3df7dab outputs:

dmd: struct.c:741: virtual void StructDeclaration::semantic(Scope*): Assertion
`type->ty != Tstruct || ((TypeStruct *)type)->sym == this' failed.

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

Reply via email to