Files
kotlin-fork/idea/testData/diagnosticMessage/functionPlaceholder.kt
T

8 lines
118 B
Kotlin

class A<T, R>
fun <T, R> foo(a: A<T, R>) = a
fun test() {
foo { it }
foo { x -> x}
foo { (x: Int) -> x}
}