summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2022-11-28 18:54:16 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2022-11-29 15:39:56 +0900
commit8be62f06c8e583578aa3b8ffc4bf02e3273248df (patch)
treeb0227f808a36dab6fd12d1b690fc2e767c61ebc7 /compile.c
parentbb6f933d51ae4c663a1d768508fc840c56be07a3 (diff)
Remove ruby2_keywords related to args forwarding
This was introduced by b609bdeb5307e280137b4b2838af0fe4e4b46f1c to suppress warnings. However these warngins were deleted by beae6cbf0fd8b6619e5212552de98022d4c4d4d4. Therefore these codes are not needed anymore.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6826
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index c047408b15..fb99826413 100644
--- a/compile.c
+++ b/compile.c
@@ -1832,7 +1832,6 @@ iseq_set_arguments(rb_iseq_t *iseq, LINK_ANCHOR *const optargs, const NODE *cons
EXPECT_NODE("iseq_set_arguments", node_args, NODE_ARGS, COMPILE_NG);
- body->param.flags.ruby2_keywords = args->ruby2_keywords;
body->param.lead_num = arg_size = (int)args->pre_args_num;
if (body->param.lead_num > 0) body->param.flags.has_lead = TRUE;
debugs(" - argc: %d\n", body->param.lead_num);