Files
kotlin-fork/compiler/testData/diagnostics/tests/kt435.kt
T

7 lines
124 B
Kotlin
Vendored

fun Any.foo1() : (i : Int) -> Unit {
return {}
}
fun test(a : Any) {
a.foo1()(<!NO_VALUE_FOR_PARAMETER("i")!>)<!>
}