Kapt: Fix erasure() for executable types (KT-13629)

(cherry picked from commit 461c29d)
This commit is contained in:
Yan Zhulanow
2016-08-29 21:13:17 +03:00
committed by Yan Zhulanow
parent 941d016cef
commit 9127788f4a
5 changed files with 64 additions and 3 deletions
@@ -0,0 +1,14 @@
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) {}
}