[Issue 2589] New: asserts when a struct contains an aliased function member.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 16 13:44:35 PST 2009


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

           Summary: asserts when a struct contains an aliased function
                    member.
           Product: D
           Version: 2.023
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: ace17 at free.fr


// 
// dmd: mtype.c:1103: Type* Type::merge(): Assertion `t->deco' failed.
// [1]    10615 abort      dmd test.d

struct S
{
  A a;
}

alias int function(void *, ubyte *, ubyte *, ubyte *, ubyte *) A;


-- 



More information about the Digitalmars-d-bugs mailing list