Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/inference/callableReferenceToLocalClass.kt
T
2020-03-19 09:51:01 +03:00

8 lines
174 B
Kotlin
Vendored

fun <T, R> List<T>.myMap(block: (T) -> R): List<R> = null!!
fun test_1() {
class Data(val x: Int)
val datas: List<Data> = null!!
val xs = datas.myMap(Data::x)
}