summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--compile.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d9d30b3abd..a658de635c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jun 26 02:50:24 2007 Koichi Sasada <ko1@atdot.net>
+
+ * compile.c (setup_arg): support kind of "m(*ary, x)" method call.
+ ([ruby-dev:31048]).
+
Tue Jun 26 00:28:44 2007 Koichi Sasada <ko1@atdot.net>
* insnhelper.ci, vm.c: complete block parameter support.
diff --git a/compile.c b/compile.c
index 5d4ed1b785..92c7611f2e 100644
--- a/compile.c
+++ b/compile.c
@@ -2430,6 +2430,7 @@ setup_arg(rb_iseq_t *iseq, LINK_ANCHOR *args, NODE *node, VALUE *flag)
case NODE_SPLAT: {
COMPILE(args, "args (splat)", argn->nd_head);
argc = INT2FIX(1);
+ nsplat++;
*flag |= VM_CALL_ARGS_SPLAT_BIT;
break;
}