[JS IR] Take into account the declaration annotations in IC hash

So the annotation modifications invalidate the caller.
This commit is contained in:
Alexander Korepanov
2022-12-02 18:47:34 +01:00
committed by Space Team
parent 0a35d84193
commit d21cbfe02e
14 changed files with 91 additions and 19 deletions
@@ -0,0 +1,8 @@
fun box(stepId: Int): String {
when (stepId) {
0, 1, 2, 3 -> if (MyClassA().foo() != 42) return "Fail"
4 -> if (MyClassA().foo() != 33) return "Fail"
else -> return "Unknown"
}
return "OK"
}
@@ -0,0 +1,6 @@
STEP 0:
dependencies: lib1
added file: m.kt
STEP 1..4:
dependencies: lib1
updated imports: m.kt