tree-sitter-scala
tree-sitter-scala copied to clipboard
Lambda expression with semicolon
Commit of tree-sitter-scala you tested this on
b3ac6a5d959d3137e7f3146d4d9f7899872177de
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