Braceless if-then, function call, return expression
eed3si9n opened this issue · comments
eugene yokota commented
Commit of tree-sitter-scala you tested this on
A code sample showing the error
class C:
def foo =
if (aaa) || bbb(ccc) then return true
Show the error node
(compilation_unit
(class_definition
(identifier))
(ERROR
(identifier)
(parenthesized_expression
(identifier))
(infix_expression
(operator_identifier)
(identifier)
(parenthesized_expression
(identifier)))
(identifier)
(return_expression
(boolean_literal))))
What do you expect the tree to look like
No response
Where are you experiencing this error?
No response