extracted 'getResultingCall' method

rewrote 'getResultingType' in terms of it
This commit is contained in:
Svetlana Isakova
2013-06-21 14:16:27 +04:00
parent 2eadd5202d
commit 0eed0c6c7f
6 changed files with 43 additions and 15 deletions
@@ -0,0 +1,10 @@
package aaa
fun <T> T.foo(t: T) = t
fun id<T>(t: T) = t
fun a() {
val i = id(2 foo 3)
i : Int // i shouldn't be resolved to error element
}