[KLIB] Fix references to type made from TypeParameter in KotlinMangler

- promote ABI version
This commit is contained in:
Roman Artemev
2019-12-04 17:45:09 +03:00
committed by romanart
parent 3544bf17f4
commit cad3cb1bbe
7 changed files with 139 additions and 42 deletions
@@ -0,0 +1,18 @@
// EXPECTED_REACHABLE_NODES: 1286
// MODULE: lib
// FILE: lib.kt
class C<V>(val v: V) {
fun <R1, R2: List<R1>> reduce(reducer: (reduction: V) -> R2) {}
fun <R1, R2: List<R1>> reduce(reducer: (reduction: R1) -> R2) {}
}
// MODULE: main(lib)
// FILE: main.kt
fun box(): String {
val c = C(42)
return "OK"
}