Poll: Given the following files:
A.pmod: void foo() { werror("A\n"); }
class B { void bar() { foo(); } }
C.pike:
inherit .A.B;
void baz() { foo(); }
void foo() { werror("C\n"); }
Should the following program:
int main() { object c = .C();
c->bar(); c->baz(); }
Output
A C
or
C C
? ie Should parent references be overloadable via inherit?