Change Signature: Support conversion between extension and non-extension functions

This commit is contained in:
Alexey Sedunov
2014-12-19 20:40:17 +03:00
parent b31da56e09
commit 96866a108f
82 changed files with 1425 additions and 64 deletions
@@ -0,0 +1,17 @@
class U<A>
trait T<A> {
fun <caret>foofoofoo<B>(a: A, b: B): Int
}
abstract class T1<X> : T<U<X>> {
override fun <B> foofoofoo(a: U<X>, b: B): Int {
throw UnsupportedOperationException()
}
}
abstract class T2 : T1<String>() {
override fun <C> foofoofoo(a: U<String>, b: C): Int {
throw UnsupportedOperationException()
}
}