0eed0c6c7f
rewrote 'getResultingType' in terms of it
11 lines
151 B
Kotlin
11 lines
151 B
Kotlin
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
|
|
}
|