Files
kotlin/compiler/testData/codegen/box/closures/underscoreParameters.kt
2018-08-09 14:22:50 +03:00

4 lines
123 B
Kotlin
Vendored

fun foo(block: (String, String, String) -> String): String = block("O", "fail", "K")
fun box() = foo { x, _, y -> x + y }