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

7 lines
175 B
Kotlin
Vendored

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