summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-28 05:10:03 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-28 05:10:03 +0000
commit9022171e0d331a814630ad11e6d798029bad955a (patch)
treedff9f0caeccde3b843782ce8d2d0ffc4a13b19f5
parent47487adeffa177ba52a5d72332c207d01220eec8 (diff)
downloadruby-9022171e0d331a814630ad11e6d798029bad955a.tar.gz
ruby-9022171e0d331a814630ad11e6d798029bad955a.tar.xz
ruby-9022171e0d331a814630ad11e6d798029bad955a.zip
* eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c620e1ffe..7a36c6fb9 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 d9ab3826d..3a16c2855 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);