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:
committed by
Yan Zhulanow
parent
16a9941549
commit
8d2a4c3f91
@@ -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>()
|
||||
}
|
||||
Reference in New Issue
Block a user