Factor out duplicated mangling logic for functions into the base class

^KT-57777 Fixed
^KT-57818 Fixed
This commit is contained in:
Sergej Jaskiewicz
2023-04-13 11:35:30 +02:00
committed by Space Team
parent 8ae196d4fc
commit 02180e8685
77 changed files with 366 additions and 424 deletions
@@ -1,6 +1,6 @@
// FIR_IDENTICAL
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57429
val test1 = 42
@@ -1,7 +1,3 @@
// MUTE_SIGNATURE_COMPARISON_K2: JS_IR
// MUTE_SIGNATURE_COMPARISON_K2: NATIVE
// ^ KT-57818
val test1 : (String) -> String = { it }
val test2 : Any.(Any) -> Any = { it.hashCode() }
val test3 = { i: Int, j: Int -> }
@@ -1,8 +1,5 @@
// FIR_IDENTICAL
// MUTE_SIGNATURE_COMPARISON_K2: JS_IR
// ^ KT-57818
val test1 get() = 42
var test2 get() = 42; set(value) {}
@@ -1,8 +1,5 @@
// FIR_IDENTICAL
// MUTE_SIGNATURE_COMPARISON_K2: JS_IR
// ^ KT-57818
class Test1<T : U, U>
fun <T : U, U> test2() {}