Is it possible to make a mixin class that calls a method in a neighbor mixin class? Like the following code, but working...
class A { void create(string a) { write(a); } }
class B { void create(string a) { ::create(a+"b"); } }
class C { inherit A; inherit B; }
create() is somewhat of a special case. But yes, in general it is possible. This code works as expected:
class A { void foo(string a) { write(a); } }
class B { void foo(string a); void bar(string a) { foo(a+"b"); } }
class C { inherit A; inherit B; }
pike-devel@lists.lysator.liu.se