tree-sitter / tree-sitter-ruby

Ruby grammar for tree-sitter
MIT License
176 stars 58 forks source link

Fix 'case' with newlines before expression #247

Closed aibaars closed 8 months ago

aibaars commented 8 months ago

This PR fixes syntax errors in case statements with a newline before its value expression. For example

case
   foo
when ....
end

Checklist: