[Issue 3381] [tdpl] Incorrect assessment of overriding in triangular-shaped hierarchy

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 19 12:13:56 PDT 2009


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #2 from Don <clugdbug at yahoo.com.au> 2009-10-19 12:13:55 PDT ---
Ha! Compiler bugs are not usually this silly.
Applies to D1 as well. This also fixes bug 3023. I suspect it probably fixes
some other bugs too -- I'm amazed multiple inheritance has worked at all.
class.c, line 1198. 

    // Skip if b has already appeared
    for (int k = 0; k < i; k++)
    {
-        if (b == interfaces[i])
+        if (b == interfaces[k])
        goto Lcontinue;
    }

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