mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* variable.c (rb_obj_classname): wrong tail recursion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
74d5623029
commit
466d685a76
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ char *
|
|||
rb_obj_classname(obj)
|
||||
VALUE obj;
|
||||
{
|
||||
return rb_obj_classname(obj);
|
||||
return rb_class2name(CLASS_OF(obj));
|
||||
}
|
||||
|
||||
struct trace_var {
|
||||
|
|
Loading…
Reference in a new issue