[Issue 11622] New: Assertion failure in totym(), glue.c, line 1288

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 27 14:19:42 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11622

           Summary: Assertion failure in totym(), glue.c, line 1288
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: luis at luismarques.eu


--- Comment #0 from Luís Marques <luis at luismarques.eu> 2013-11-27 14:19:40 PST ---
class A(T)
{
    B!T foo()
    {
        return new B!T;
    }
}

class B(T) : T
{
}

static assert(!__traits(compiles, {
    class C : A!C  { }
}));

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


More information about the Digitalmars-d-bugs mailing list