mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix assertion
callable_method_entry_p is for rb_callable_method_entry_t.
This commit is contained in:
parent
771fd915a4
commit
10d6a3aca7
1 changed files with 1 additions and 1 deletions
|
@ -2576,7 +2576,7 @@ aliased_callable_method_entry0(const rb_method_entry_t *me)
|
|||
const rb_callable_method_entry_t *cme;
|
||||
|
||||
if (orig_me->defined_class != 0) {
|
||||
VM_ASSERT(callable_method_entry_p(orig_me));
|
||||
VM_ASSERT(callable_class_p(orig_me->defined_class));
|
||||
return orig_me;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue