[KLIB] Fix references to type made from TypeParameter in KotlinMangler
- promote ABI version
This commit is contained in:
+5
@@ -4477,6 +4477,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/inlineMultiModule/topLevelNestedInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParametersMangling.kt")
|
||||
public void testTypeParametersMangling() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inlineMultiModule/typeParametersMangling.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typealiases.kt")
|
||||
public void testTypealiases() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inlineMultiModule/typealiases.kt");
|
||||
|
||||
+5
@@ -4492,6 +4492,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/inlineMultiModule/topLevelNestedInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParametersMangling.kt")
|
||||
public void testTypeParametersMangling() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inlineMultiModule/typeParametersMangling.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typealiases.kt")
|
||||
public void testTypealiases() throws Exception {
|
||||
runTest("js/js.translator/testData/box/inlineMultiModule/typealiases.kt");
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user