tree-sitter-ruby
tree-sitter-ruby copied to clipboard
Parse error in anonymous block arguments
A minimal test case:
def foo(&)
foo(a, &
)
end
It seems that when there is a newline between an anonymous block argument and the closing ), the parser fails.
Having investigated this a bit, I believe it may be a duplicate of #218