Actions
Bug #5989
closedKeyword spash is syntax error when there are no explicit keyword arguments
Description
$ ruby -e 'def a(a:1, **h); p h; end; a(b: 1)'
{:b=>1}
$ ruby -e 'def a(**h); p h; end; a(b: 1)'
-e:1: syntax error, unexpected tPOW, expecting ')'
def a(**h); p h; end
^
Actions
Like0
Like0Like0Like0Like0