Skip to content

Commit

Permalink
* iseq.c: remove nil parameter from Proc#parameters
Browse files Browse the repository at this point in the history
  after rest appeared.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
takano32 committed Feb 14, 2009
1 parent 28eb7ac commit 53bea54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sat Feb 14 13:14:18 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>

* iseq.c: remove nil parameter from Proc#parameters
after rest appeared.

Sat Feb 14 07:23:52 2009 NARUSE, Yui <naruse@ruby-lang.org>

* string.c (rb_external_str_new_with_enc): change evaluatioin order
Expand Down
2 changes: 0 additions & 2 deletions iseq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 53bea54

Please sign in to comment.