[FIR] Fix handling of type parameters in FIR mangling
#KT-57429 Fixed
This commit is contained in:
committed by
Space Team
parent
938dd65881
commit
67fc46a190
@@ -1,6 +1,3 @@
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
|
||||
// ^ KT-57429
|
||||
|
||||
data class Test1(
|
||||
val stringArray: Array<String>,
|
||||
val charArray: CharArray,
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
|
||||
// ^ KT-57429
|
||||
|
||||
data class Test1<T>(val x: T)
|
||||
|
||||
data class Test2<T : Number>(val x: T)
|
||||
|
||||
-3
@@ -1,6 +1,3 @@
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
|
||||
// ^ KT-57429
|
||||
|
||||
open class Cell<T>(val value: T)
|
||||
|
||||
typealias CT<T> = Cell<T>
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
|
||||
// ^ KT-57429
|
||||
|
||||
class C<T>(val t: T) {
|
||||
override fun hashCode(): Int = t as Int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user