asMemberOf() should always substitute type parameters for methods using the relevant substitutor

(cherry picked from commit dfadd17)

(cherry picked from commit 49b07a7)
This commit is contained in:
Yan Zhulanow
2016-09-09 23:09:55 +03:00
committed by Yan Zhulanow
parent 16a9941549
commit 8d2a4c3f91
4 changed files with 65 additions and 20 deletions
@@ -0,0 +1,15 @@
open class Base<T> {
@JvmField
val f: T = null!!
fun m(t: T): T = null!!
}
class Impl<T> : Base<T>()
annotation class Anno
@Anno
class Test {
val f = Impl<String>()
}