summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorShugo Maeda <shugo@ruby-lang.org>2022-11-16 23:03:39 +0900
committerShugo Maeda <shugo.maeda@gmail.com>2022-11-18 18:23:06 +0900
commitddd62fadaf91418cd259593285bc59358fb0b166 (patch)
tree6f91cd01559f43f942774d36f892b1d2ed61617b /parse.y
parent00872d120b017de2270fe18068cea2d37d41ed71 (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.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index a69a7bea55..f5f8e15acf 100644
--- a/parse.y
+++ b/parse.y
@@ -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) %*/
}