Kapt: Fix erasure() for immediate class types (KT-13748)

(cherry picked from commit 5fe01f6)
This commit is contained in:
Yan Zhulanow
2016-09-06 16:48:37 +03:00
parent ef375e66cd
commit fbf44aa9be
9 changed files with 156 additions and 56 deletions
@@ -13,4 +13,11 @@ class Test<T> : Base<Int>() {
fun <D : Any> e(item: D): D = item
fun f(items: List<Map<String, Int>>, i: Int) {}
fun <D : String> g(item: D) {}
fun h(): Array<List<String>> = null!!
fun <T> i(): T where T : CharSequence, T : Appendable = null!!
}
class Test2<in A : List<String>, out B : List<String>> {
fun a(items: A) {}
fun b(): B = null!!
}