We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
59ab070
xs.map { x: Int => x }
(compilation_unit [0, 0] - [1, 0] (call_expression [0, 0] - [0, 22] function: (field_expression [0, 0] - [0, 6] value: (identifier [0, 0] - [0, 2]) field: (identifier [0, 3] - [0, 6])) arguments: (block [0, 7] - [0, 22] (ascription_expression [0, 9] - [0, 15] (identifier [0, 9] - [0, 10]) (type_identifier [0, 12] - [0, 15])) (ERROR [0, 16] - [0, 21]))))
It should be recognized as a lambda expression
This syntax was allowed in Scala 2. E.g. ClassFileWriters.scala
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Commit of tree-sitter-scala you tested this on
59ab070
A code sample showing the error
Show the error node
What do you expect the tree to look like
It should be recognized as a lambda expression
Where are you experiencing this error?
This syntax was allowed in Scala 2. E.g. ClassFileWriters.scala
The text was updated successfully, but these errors were encountered: