Project

General

Profile

Bug #13574 ยป warn-on-same-name-alias.diff

tenderlovemaking (Aaron Patterson), 05/19/2017 12:07 AM

View differences:

vm_method.c
1565 1565
	method_added(target_klass, alias_name);
1566 1566
    }
1567 1567
    else {
1568
	if (alias_name == original_name) {
1569
	    return;
1570
	}
1568 1571
	rb_method_entry_t *alias_me;
1569 1572

  
1570 1573
	alias_me = method_entry_set(target_klass, alias_name, orig_me, visi, orig_me->owner);