Files
kotlin-fork/plugins/annotation-processing/testData/processors/AsMemberOf.kt
T
Yan Zhulanow 8d2a4c3f91 asMemberOf() should always substitute type parameters for methods using the relevant substitutor
(cherry picked from commit dfadd17)

(cherry picked from commit 49b07a7)
2016-10-07 16:28:19 +03:00

15 lines
186 B
Kotlin
Vendored

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>()
}