Modified: MacRuby/branches/experimental/hash.c (1905 => 1906)
--- MacRuby/branches/experimental/hash.c 2009-06-20 05:20:37 UTC (rev 1905)
+++ MacRuby/branches/experimental/hash.c 2009-06-20 05:29:50 UTC (rev 1906)
@@ -475,7 +475,7 @@
if (!CFDictionaryGetValueIfPresent((CFDictionaryRef)hash,
(const void *)RB2OC(key),
(const void **)&val)) {
- return rb_vm_call_with_cache(defaultCache, hash, selDefault, 0, NULL);
+ return rb_vm_call_with_cache(defaultCache, hash, selDefault, 1, &key);
}
val = OC2RB(val);
return val;