Added tests for choosing 'most specific' resolution candidate
Fixed test (while resolve with library on android): 'run' resolves to library function
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun <T> emptyList(): List<T> = throw Exception()
|
||||
|
||||
fun <T> doSmth(l: List<T>) {}
|
||||
fun doSmth(a: Any) {}
|
||||
|
||||
fun bar() {
|
||||
<caret>doSmth(emptyList())
|
||||
}
|
||||
Reference in New Issue
Block a user