summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c620e1ffe7..7a36c6fb96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jul 28 14:09:14 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]
+
Fri Jul 28 10:41:35 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_call): a bug in method cache look-up.
diff --git a/eval.c b/eval.c
index d9ab3826d5..3a16c2855d 100644
--- a/eval.c
+++ b/eval.c
@@ -5932,7 +5932,7 @@ rb_call(VALUE klass, VALUE recv, ID mid,
ent = NULL;
}
}
- if (!ent) {
+ if (ent) {
if (!ent->method)
return method_missing(recv, mid, argc, argv, block,
scope==CALLING_VCALL?CSTAT_VCALL:0);