KT-57714 Fix remapping of signatures with reified type parameters

This commit is contained in:
Pavel Mikhailovskii
2023-04-18 11:56:20 +02:00
committed by Space Team
parent e10e821cd4
commit 3bb66e8432
5 changed files with 36 additions and 1 deletions
@@ -0,0 +1,17 @@
// TARGET_BACKEND: JVM_IR
val x = createImpl<List<String>>()
interface IfaceWithGenericFun<A> {
fun <B : A> doStuff(x: B)
}
inline fun <reified A> createImpl(): IfaceWithGenericFun<A> {
return object : IfaceWithGenericFun<A> {
override fun <B : A> doStuff(x: B) {}
}
}
// 3 INNERCLASS
// 2 INNERCLASS Kt57714Kt\$createImpl\$1 null null
// 1 INNERCLASS Kt57714Kt\$special\$\$inlined\$createImpl\$1 null null