mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (rb_raw_obj_info): iseq->body->location.first_lineno is Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2c357a5574
commit
5f6dedda01
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Sep 3 20:29:18 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c (rb_raw_obj_info): iseq->body->location.first_lineno is Fixnum.
|
||||
|
||||
Thu Sep 3 17:54:26 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm_eval.c (raise_method_missing): "names" should be singular.
|
||||
|
|
4
gc.c
4
gc.c
|
@ -8994,7 +8994,9 @@ rb_raw_obj_info(char *buff, const int buff_size, VALUE obj)
|
|||
|
||||
if (iseq->body->location.label) {
|
||||
snprintf(buff, buff_size, "%s %s@%s:%d", buff,
|
||||
RSTRING_PTR(iseq->body->location.label), RSTRING_PTR(iseq->body->location.path), (int)iseq->body->location.first_lineno);
|
||||
RSTRING_PTR(iseq->body->location.label),
|
||||
RSTRING_PTR(iseq->body->location.path),
|
||||
FIX2INT(iseq->body->location.first_lineno));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue