[Issue 3332] Mixin a constructor with a construct already present fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 17 13:02:14 PDT 2011


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



--- Comment #4 from Trass3r <mrmocool at gmx.de> 2011-07-17 12:56:58 PDT ---
This could probably be fixed in TemplateMixin::semantic:

// Add members to enclosing scope, as well as this scope
for (unsigned i = 0; i < members->dim; i++)
{   Dsymbol *s;

    s = members->tdata()[i];
    s->addMember(argscope, this, i);

+   // need to do some sort of checking here
+   // if (s->isFuncDeclaration()) ....
    //sc->insert(s); <----------

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