[758] MacRuby/trunk/vm_insnhelper.c
Revision: 758 http://trac.macosforge.org/projects/ruby/changeset/758 Author: lsansonetti@apple.com Date: 2008-11-26 19:02:43 -0800 (Wed, 26 Nov 2008) Log Message: ----------- temporary fix for #164 Modified Paths: -------------- MacRuby/trunk/vm_insnhelper.c Modified: MacRuby/trunk/vm_insnhelper.c =================================================================== --- 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;
participants (1)
-
source_changes@macosforge.org