Files
kotlin-fork/idea/testData/folding/checkCollapse/functionLiteral.kt
T
Dmitry Jemerov 72648d305e better folding for function literals
#KT-4090 Fixed
2015-04-23 13:37:35 +02:00

12 lines
319 B
Kotlin
Vendored

fun some(body: () -> Unit) = body()
fun oneMore() <fold text='{...}' expand='true'>{
some <fold text='{...}' expand='true'>{
// this is a comment
val v1 = "Body"
val v2 = "of"
val v3 = "function"
}</fold>
}</fold>
// Generated from: idea/testData/folding/checkCollapse/block.kt