[FIR] Fix handling of type parameters in FIR mangling

#KT-57429 Fixed
This commit is contained in:
Kirill Rakhman
2023-06-05 17:31:27 +02:00
committed by Space Team
parent 938dd65881
commit 67fc46a190
48 changed files with 199 additions and 141 deletions
@@ -1,6 +1,3 @@
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57429
class Test1<T1, T2>(val x: T1, val y: T2)
class Test2(x: Int, val y: String) {
@@ -1,4 +1 @@
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57429
data class Test<T>(val x: T, val y: String = "")
@@ -1,8 +1,5 @@
// FIR_IDENTICAL
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57429
val test1 = 42
var test2 = 42
@@ -1,5 +1,5 @@
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57754, KT-57429
// ^ KT-57754
interface IBase<T> {
fun foo(x: Int)
@@ -1,8 +1,5 @@
// FIR_IDENTICAL
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57429
class Outer<T1> {
inner class Inner<T2> {
fun foo(x1: T1, x2: T2) {}