1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-07-28 05:10:03 +00:00
parent 94f9fc2b6e
commit 35526b1b00
2 changed files with 5 additions and 1 deletions

View file

@ -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.

2
eval.c
View file

@ -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);