mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm_method.c: debug message
* vm_method.c (method_definition_addref_complement): fix debug message, show complemented_count instead of alias_count. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b7d6b2299b
commit
639fd0874d
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ static rb_method_definition_t *
|
|||
method_definition_addref_complement(rb_method_definition_t *def)
|
||||
{
|
||||
def->complemented_count++;
|
||||
if (METHOD_DEBUG) fprintf(stderr, "+%p-%s:%d\n", def, rb_id2name(def->original_id), def->alias_count);
|
||||
if (METHOD_DEBUG) fprintf(stderr, "+%p-%s:%d\n", def, rb_id2name(def->original_id), def->complemented_count);
|
||||
return def;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue