Lambda expression with semicolon
eed3si9n opened this issue · comments
eugene yokota commented
Commit of tree-sitter-scala you tested this on
A code sample showing the error
TypeTreeWithDeferredRefCheck() { () => val tp = qual.tpe; val sym = tp.typeSymbolDirect
1
}
val l1 = { () => val x = 1; 2 }
Show the error node
(val_definition
(identifier)
(block
(lambda_expression
(bindings)
(infix_expression
(identifier)
(identifier)
(operator_identifier)))
(ERROR
(integer_literal))
(integer_literal))))))
What do you expect the tree to look like
No response
Where are you experiencing this error?
No response