Make anonymous rest arg (*) and block arg (&) accessible from ARGS node

This commit is contained in:
yui-knk 2022-11-17 23:43:21 +09:00 committed by Yuichiro Kaneko
parent ddd62fadaf
commit f0ce118662
Notes: git 2022-11-18 09:26:01 +00:00
3 changed files with 32 additions and 4 deletions

1
node.h
View file

@ -461,6 +461,7 @@ struct rb_args_info {
NODE *opt_args;
unsigned int no_kwarg: 1;
unsigned int ruby2_keywords: 1;
unsigned int forwarding: 1;
VALUE imemo;
};