Just because you can it doesn't mean it is a good idea to do so... actually, I found it rather a bad idea to call a method on an object that's not related via an is-a relation to the method package.
The obvious solution for the OP problem is to move the common methods to the base class or to use a mixin class.
In reply to Re^2: a question on namespaces and inheritance
by salva
in thread a question on namespaces and inheritance
by thcsoft
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |