I think the type-checker might be a bit *too* strict now in Pike 7.6.6. I have two classes, one callex 'xml', and one called 'Menu'. Menu implements xml, but it's behavour is quite different. Also create() is quite different in xml() and in Menu().
I then have a function which expects an array(xml), but gets an arary(Menu), and Pike 7.6.6 is not very happy about this. Didn't "create" used to be excempt from these type of type checks?
For more info, see:
http://fredrik.hubbe.net/hacker/viewtopic.php?t=143
Is there a better workaround for this than breaking up xml into two classes, one with a create function and one which inherits the other and adds the create function? (And then use the first one in all prototypes and the second in all function calls.)