kotlin-parser icon indicating copy to clipboard operation
kotlin-parser copied to clipboard

Not parsing blocks inside function declaration

Open mkrawetko opened this issue 6 years ago • 0 comments

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.

mkrawetko avatar May 03 '18 17:05 mkrawetko