ruby / prism

Prism Ruby parser
https://ruby.github.io/prism/
MIT License
825 stars 139 forks source link

...1... is allowed in method argument #3121

Closed tompng closed 4 days ago

tompng commented 4 days ago

...1... should be syntax error but allowed in method argument

p(...1...)
p 1, ...1...
a.(1, ...1...)