Feature #13574 ยป warn-on-same-name-alias.diff
vm_method.c | ||
---|---|---|
method_added(target_klass, alias_name);
|
||
}
|
||
else {
|
||
if (alias_name == original_name) {
|
||
return;
|
||
}
|
||
rb_method_entry_t *alias_me;
|
||
alias_me = method_entry_set(target_klass, alias_name, orig_me, visi, orig_me->owner);
|