diff options
author | Shugo Maeda <shugo@ruby-lang.org> | 2022-11-16 23:03:39 +0900 |
---|---|---|
committer | Shugo Maeda <shugo.maeda@gmail.com> | 2022-11-18 18:23:06 +0900 |
commit | ddd62fadaf91418cd259593285bc59358fb0b166 (patch) | |
tree | 6f91cd01559f43f942774d36f892b1d2ed61617b /parse.y | |
parent | 00872d120b017de2270fe18068cea2d37d41ed71 (diff) |
Allow anonymous keyword rest parameter with other keyword parameters
Fixes [Bug #19132]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6743
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5612,7 +5612,7 @@ f_kwrest : kwrest_mark tIDENTIFIER { arg_var(p, ANON_KEYWORD_REST_ID); /*%%%*/ - $$ = internal_id(p); + $$ = ANON_KEYWORD_REST_ID; /*% %*/ /*% ripper: kwrest_param!(Qnil) %*/ } |