tree-sitter-ruby icon indicating copy to clipboard operation
tree-sitter-ruby copied to clipboard

Parse error in anonymous block arguments

Open hmac opened this issue 2 years ago • 1 comments

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.

hmac avatar Oct 19 '23 19:10 hmac

Having investigated this a bit, I believe it may be a duplicate of #218

hmac avatar Oct 19 '23 19:10 hmac