[Issue 5344] Interface Inheritance Problem
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 19 10:19:44 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5344
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2010-12-19 10:17:49 PST ---
If I'm not mistaked:
B b = new BCl();
means the object b has a static type B, and the dynamic type BCl. Which means
you can only call methods defined by the B interface. This is probably
discussed more in TDPL, but I'd have to check it again because I'm not sure..
--
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