when looking for potential super methods in modules, make sure we do not lookup in the module's superclass (NSObject typically)
--- MacRuby/trunk/vm_insnhelper.c 2008-08-21 21:19:40 UTC (rev 464)
+++ MacRuby/trunk/vm_insnhelper.c 2008-08-22 01:48:09 UTC (rev 465)
@@ -1404,7 +1404,11 @@
NODE *mn;
IMP imp;
SEL sel;
+
+ VALUE saved_imod_super = RCLASS_SUPER(imod);
+ RCLASS_SUPER(imod) = 0;
mn = rb_objc_method_node(imod, mid, &imp, &sel);
+ RCLASS_SUPER(imod) = saved_imod_super;
if (imp != NULL) {
previous_sklass = klass;
*mnp = mn;