ruby-changes:47471
From: yui-knk <ko1@a...>
Date: Mon, 14 Aug 2017 22:26:42 +0900 (JST)
Subject: [ruby-changes:47471] yui-knk:r59587 (trunk): Fix a class of a returned value
yui-knk 2017-08-14 22:26:37 +0900 (Mon, 14 Aug 2017) New Revision: 59587 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59587 Log: Fix a class of a returned value * ext/objspace/object_tracing.c (allocation_sourceline): Fix a class of a returned value. allocation_sourceline returns an integer. Modified files: trunk/ext/objspace/object_tracing.c Index: ext/objspace/object_tracing.c =================================================================== --- ext/objspace/object_tracing.c (revision 59586) +++ ext/objspace/object_tracing.c (revision 59587) @@ -356,7 +356,7 @@ allocation_sourcefile(VALUE self, VALUE https://github.com/ruby/ruby/blob/trunk/ext/objspace/object_tracing.c#L356 } /* - * call-seq: allocation_sourceline(object) -> string + * call-seq: allocation_sourceline(object) -> integer * * Returns the original line from source for from the given +object+. * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/