Files
2022-10-05 15:06:52 +00:00

12 lines
180 B
Kotlin
Vendored

fun builder(block: () -> Int): Boolean {
block()
return true
}
fun intFunction(): Int {
return 5
}
fun test(b: Boolean) {
builder { <expr>intFunction()</expr> }
}