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:
Svetlana Isakova
2014-07-10 19:00:40 +04:00
parent eca2c7beea
commit fb4c256d08
6 changed files with 78 additions and 3 deletions
@@ -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())
}