diff options
author | takano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-14 04:15:32 +0000 |
---|---|---|
committer | takano32 <takano32@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-14 04:15:32 +0000 |
commit | 53bea54768538ca7160e0eafedd816cae54402d3 (patch) | |
tree | cade95e2318c89203555c43f4b50c156e147d5c6 /iseq.c | |
parent | 28eb7acf2c8c8b883090617599ec3439dc55e8e9 (diff) | |
download | ruby-53bea54768538ca7160e0eafedd816cae54402d3.tar.gz |
* iseq.c: remove nil parameter from Proc#parameters
after rest appeared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1304,7 +1304,6 @@ rb_iseq_parameters(const rb_iseq_t *iseq, int is_proc) for (i = 0; i < iseq->argc; i++) { PARAM_TYPE(opt); rb_ary_push(a, rb_id2name(PARAM_ID(i)) ? ID2SYM(PARAM_ID(i)) : Qnil); - rb_ary_push(a, Qnil); rb_ary_push(args, a); } } @@ -1333,7 +1332,6 @@ rb_iseq_parameters(const rb_iseq_t *iseq, int is_proc) for (i = iseq->arg_post_start; i < r; i++) { PARAM_TYPE(opt); rb_ary_push(a, rb_id2name(PARAM_ID(i)) ? ID2SYM(PARAM_ID(i)) : Qnil); - rb_ary_push(a, Qnil); rb_ary_push(args, a); } } |