mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
object.c: fix up r51039
* object.c (convert_type): conversion without "to_" prefix is not implicit. fix up r51039. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5d8f0a42bb
commit
b2a36083f8
1 changed files with 1 additions and 1 deletions
2
object.c
2
object.c
|
@ -2579,7 +2579,7 @@ static VALUE
|
|||
convert_type(VALUE val, const char *tname, const char *method, int raise)
|
||||
{
|
||||
ID m = 0;
|
||||
int i;
|
||||
int i = numberof(conv_method_names);
|
||||
VALUE r;
|
||||
static const char prefix[] = "to_";
|
||||
|
||||
|
|
Loading…
Reference in a new issue