ruby-changes:48534
From: yui-knk <ko1@a...>
Date: Sat, 4 Nov 2017 22:59:39 +0900 (JST)
Subject: [ruby-changes:48534] yui-knk:r60649 (trunk): compile.c (setup_args): Fix a typo
yui-knk 2017-11-04 22:59:34 +0900 (Sat, 04 Nov 2017) New Revision: 60649 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60649 Log: 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. Modified files: trunk/compile.c Index: compile.c =================================================================== --- compile.c (revision 60648) +++ compile.c (revision 60649) @@ -4227,7 +4227,7 @@ setup_args(rb_iseq_t *iseq, LINK_ANCHOR https://github.com/ruby/ruby/blob/trunk/compile.c#L4227 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); } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/