mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Make anonymous rest arg (*) and block arg (&) accessible from ARGS node
This commit is contained in:
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
1
node.h
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue