[Issue 11796] interface multiple inheritance not call methods

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 22 01:33:16 PST 2013


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


Maxim Fomin <maxim at maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim at maxim-fomin.ru


--- Comment #3 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-12-22 01:33:15 PST ---
Note, if order of interfaces in derivative list is changed, program runs fine.

interface I4 : I2, I3 { } => interface I4 : I3, I2 { }

Perhaps compiler puts func2() before func1() in vitrual table, after reading
Test class definition assumes that func1() is placed before func2(), so the
second function is called.

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