kotlin-parser
kotlin-parser copied to clipboard
Not parsing blocks inside function declaration
When I have function like this:
fun someFunction() { setOf("A","B","C").forEach { System.out.print(it) } System.out.println("this line is not in FunctionBodyContext") }
then FunctionalBodyContext.getText()
returns only part of the body, mainly:
{ setOf("A","B","C").forEach{System.
I expect whole function body to be returned.