Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/generic/kt7470.kt
T

9 lines
162 B
Kotlin
Vendored

// FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_VARIABLE
fun <T> shuffle(x: List<T>): List<T> = x
fun bar() {
val s: (List<String>) -> List<String> = ::shuffle
}