diff options
author | Shugo Maeda <shugo@ruby-lang.org> | 2022-12-15 15:12:33 +0900 |
---|---|---|
committer | Shugo Maeda <shugo.maeda@gmail.com> | 2022-12-15 18:56:24 +0900 |
commit | 2581de112c1957dc4b5852e54337551dc8972c99 (patch) | |
tree | d276a3734bf323ab95ff5abab293935a05714033 /compile.c | |
parent | 613fca01486e47dee9364a2fd86b5f5e77fe23c8 (diff) |
Disallow mixed usage of ... and */**
[Feature #19134]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6934
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1832,6 +1832,7 @@ 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); |