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.
This commit is contained in:
parent
bb6f933d51
commit
8be62f06c8
Notes:
git
2022-11-29 06:40:16 +00:00
@ -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);
|
||||
|
1
node.h
1
node.h
@ -462,7 +462,6 @@ struct rb_args_info {
|
||||
|
||||
NODE *opt_args;
|
||||
unsigned int no_kwarg: 1;
|
||||
unsigned int ruby2_keywords: 1;
|
||||
unsigned int forwarding: 1;
|
||||
|
||||
VALUE imemo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user