2cac6a9e7d
#KT-10711 Fixed #KT-12802 Fixed #KT-12964 Fixed #KT-15439 Fixed Analyze callable references in `dependent` mode, then complete them with respect to expected types
8 lines
145 B
Kotlin
Vendored
8 lines
145 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
|
|
|
|
|
fun <T> shuffle(x: List<T>): List<T> = x
|
|
|
|
fun bar() {
|
|
val s: (List<String>) -> List<String> = ::shuffle
|
|
} |