strange behaviour of inherit with prototypes
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1996
Reported by Thomas Bopp, Uni-GH Paderborn astra@upb.de
I have some inherit structure with a prototype in one of the classes. Problem is that the prototyped function is not found even though the function should be part of the object. Calling prg.pike will fail with function not found. Here is the source:
implementation.pike: void foo() { write("foo();\n" ); }
prototype.pike:
void foo();
void proto_test() { foo(); }
prg.pike:
inherit "implementation";
inherit "prototype";
void main(int argc, array argv)
{
proto_test();
}