Files
kotlin-fork/plugins/annotation-processing/testData/processors/Erasure2.kt
T
Yan Zhulanow 9127788f4a Kapt: Fix erasure() for executable types (KT-13629)
(cherry picked from commit 461c29d)
2016-09-10 17:36:15 +03:00

14 lines
340 B
Kotlin
Vendored

abstract class Base<A> {
fun baseF(): A = null!!
}
@Deprecated("")
class Test<T> : Base<Int>() {
fun a(): String = ""
fun b(i: String, b: CharSequence) {}
fun c(): Int = 5
fun d(): T = null!!
fun <D : Any> e(item: D): D = item
fun f(items: List<Map<String, Int>>, i: Int) {}
fun <D : String> g(item: D) {}
}