[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,9 +1,6 @@
// !LANGUAGE: +ContextReceivers
// IGNORE_BACKEND: JS_IR
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57429
data class Pair<A, B>(val first: A, val second: B)
context(Comparator<T>)
@@ -1,9 +1,6 @@
// FIR_IDENTICAL
// !LANGUAGE: +ContextReceivers
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57429
context(T) class A<T>
context(Collection<P>) class B<P>
@@ -1,9 +1,6 @@
// FIR_IDENTICAL
// !LANGUAGE: +ContextReceivers
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57429
class A<T>(val a: T)
class B(val b: Any)
class C(val c: Any)