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,6 @@
fun foo() {
<caret>bar { }
}
fun bar(a: Any) = a
fun <T> bar(f: () -> T): T = f()