Files
kotlin-fork/compiler/testData/diagnostics/tests/inference/invokeLambdaAsFunction.fir.kt
T

7 lines
123 B
Kotlin
Vendored

fun test1(i: Int) = { i ->
i
}(i)
fun test2() = <!INAPPLICABLE_CANDIDATE!>{ i -> i }<!>()
fun test3() = { i -> i }(1)