Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  after rest appeared.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit ba91643eb18352a172c54db8725f8aeaf06f4734 1 parent f0108fa
takano32 authored
Showing with 5 additions and 2 deletions.
  1. +5 −0 ChangeLog
  2. +0 −2  iseq.c
View
5 ChangeLog
@@ -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
View
2  iseq.c
@@ -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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.