[JS IR] Take default params into account for calculating an IC hash

^KT-54895 Fixed
This commit is contained in:
Alexander Korepanov
2022-11-10 14:10:19 +01:00
committed by Space Team
parent f7063555ca
commit f4b5f5ff5d
19 changed files with 176 additions and 0 deletions
@@ -0,0 +1,3 @@
interface InterfaceA {
fun functionA(x: Int, s: String, b: Boolean? = null): Int
}
@@ -0,0 +1,3 @@
interface InterfaceA {
fun functionA(x: Int, s: String, b: Boolean?): Int
}
@@ -0,0 +1,3 @@
interface InterfaceA {
fun functionA(x: Int, s: String, b: Boolean? = true): Int
}
@@ -0,0 +1,3 @@
interface InterfaceA {
fun functionA(x: Int, s: String, b: Boolean? = true, i: Int = 1): Int
}
@@ -0,0 +1,3 @@
interface InterfaceA {
fun functionA(x: Int, s: String = "xy", b: Boolean? = true, i: Int): Int
}
@@ -0,0 +1,3 @@
interface InterfaceA {
fun functionA(x: Int, s: String = "xyz!", b: Boolean? = false, i: Int): Int
}
@@ -0,0 +1,27 @@
STEP 0:
modifications:
U : l1.0.kt -> l1.kt
added file: l1.kt
STEP 1:
modifications:
U : l1.1.kt -> l1.kt
modified ir: l1.kt
STEP 2:
modifications:
U : l1.2.kt -> l1.kt
modified ir: l1.kt
STEP 3:
STEP 4:
modifications:
U : l1.4.kt -> l1.kt
modified ir: l1.kt
STEP 5:
STEP 6:
modifications:
U : l1.6.kt -> l1.kt
modified ir: l1.kt
STEP 7:
STEP 8:
modifications:
U : l1.8.kt -> l1.kt
modified ir: l1.kt