Files
kotlin-fork/compiler/testData/resolvedCalls/resolve/mostSpecificUninferredParam.kt
T
Svetlana Isakova fb4c256d08 Added tests for choosing 'most specific' resolution candidate
Fixed test (while resolve with library on android): 'run' resolves to library function
2014-07-30 17:07:10 +04:00

8 lines
147 B
Kotlin

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