mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm_method.c fix commit miss
* vm_method.c (rb_method_entry_get_without_cache): fix commit miss. remove extra !. [Bug #9663] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
99baae9905
commit
0ab88d13a1
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ rb_method_entry_get_without_cache(VALUE klass, ID id,
|
|||
VALUE defined_class;
|
||||
rb_method_entry_t *me = search_method(klass, id, &defined_class);
|
||||
|
||||
if (me && !me->klass) {
|
||||
if (me && me->klass) {
|
||||
switch (BUILTIN_TYPE(me->klass)) {
|
||||
case T_CLASS:
|
||||
if (RBASIC(klass)->flags & FL_SINGLETON) break;
|
||||
|
|
Loading…
Add table
Reference in a new issue