seattlerb / ruby_parser

ruby_parser is a ruby parser written in pure ruby. It outputs s-expressions which can be manipulated and converted back to ruby via the ruby2ruby gem.
http://www.zenspider.com/projects/ruby_parser.html
476 stars 100 forks source link

Ruby 3.0 argument forwarding does not parse #321

Closed mildred closed 3 years ago

mildred commented 3 years ago

https://rubyreferences.github.io/rubychanges/3.0.html#arguments-forwarding--supports-leading-arguments

The following minimal ruby example do not parse:

def a(...)
  b(...)
end
danleyden commented 3 years ago

I believe this is a duplicate of #311

zenspider commented 3 years ago

Dupe and fixed