[JS IR] Add IC invalidation tests
This commit is contained in:
committed by
Space
parent
210cc67041
commit
28b1f1c50f
+2
@@ -0,0 +1,2 @@
|
||||
fun fooX() = 11
|
||||
inline fun fooY() = 22
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// TODO: After KT-51090, m.kt from main module must be dirty
|
||||
suspend fun fooX() = 11
|
||||
inline fun fooY() = 22
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
suspend fun fooX() = 11
|
||||
suspend inline fun fooY() = 22
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib
|
||||
modifications:
|
||||
U : l1.kt.0.txt -> l1.kt
|
||||
dirty: l1.kt
|
||||
STEP 1:
|
||||
dependencies: stdlib
|
||||
modifications:
|
||||
U : l1.kt.1.txt -> l1.kt
|
||||
dirty: l1.kt
|
||||
STEP 2:
|
||||
dependencies: stdlib
|
||||
modifications:
|
||||
U : l1.kt.2.txt -> l1.kt
|
||||
dirty: l1.kt
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
suspend fun box(): Int {
|
||||
val x = fooX()
|
||||
val y = fooY()
|
||||
return x + y
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib, lib1
|
||||
dirty: m.kt
|
||||
STEP 1:
|
||||
dependencies: stdlib, lib1
|
||||
STEP 2:
|
||||
dependencies: stdlib, lib1
|
||||
dirty: m.kt
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
MODULES: lib1, main
|
||||
|
||||
STEP 0:
|
||||
libs: lib1, main
|
||||
STEP 1:
|
||||
libs: lib1, main
|
||||
STEP 2:
|
||||
libs: lib1, main
|
||||
Reference in New Issue
Block a user