mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
compile.c (setup_args): Fix a typo
* compile.c (setup_args): In this function, an argument of nd_line is argn except this line. And argn is a pointer of NODE. So I think this is a typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fe9bff4319
commit
6d022ae147
1 changed files with 1 additions and 1 deletions
|
@ -4227,7 +4227,7 @@ setup_args(rb_iseq_t *iseq, LINK_ANCHOR *const args, const NODE *argn,
|
|||
if (nsplat > 1) {
|
||||
int i;
|
||||
for (i=1; i<nsplat; i++) {
|
||||
ADD_INSN(args_splat, nd_line(RNODE(args)), concatarray);
|
||||
ADD_INSN(args_splat, nd_line(argn), concatarray);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue