Files
kotlin-fork/compiler/testData/resolvedCalls/resolve/mostSpecificUninferredParam.kt
T
2014-12-16 17:33:21 +03:00

8 lines
145 B
Kotlin
Vendored

fun <T> someList(): List<T> = throw Exception()
fun <T> doSmth(l: List<T>) {}
fun doSmth(a: Any) {}
fun bar() {
<caret>doSmth(someList())
}