Modified: MacRuby/trunk/vm_insnhelper.c (757 => 758)
--- MacRuby/trunk/vm_insnhelper.c 2008-11-26 01:50:00 UTC (rev 757)
+++ MacRuby/trunk/vm_insnhelper.c 2008-11-27 03:02:43 UTC (rev 758)
@@ -882,9 +882,14 @@
if (method != NULL
&& (imp = method_getImplementation(method)) != NULL
&& rb_objc_method_node3(imp) == NULL) {
+#if 0
+ /* XXX this breaks KVO setters since the original implementation
+ * assumes that _cmd is the original method name.
+ */
assert(class_addMethod((Class)klass,
mcache->as.rcall.sel, imp,
method_getTypeEncoding(method)));
+#endif
mcache->flags = RB_MCACHE_OCALL_FLAG;
mcache->as.rcall.sel = sel;
mcache->as.ocall.klass = klass;