[JS IR] Add IC invalidation tests

This commit is contained in:
Alexander Korepanov
2022-02-01 22:07:55 +03:00
committed by Space
parent 210cc67041
commit 28b1f1c50f
175 changed files with 1619 additions and 1 deletions
@@ -0,0 +1,2 @@
fun fooX() = 11
inline fun fooY() = 22
@@ -0,0 +1,3 @@
// TODO: After KT-51090, m.kt from main module must be dirty
suspend fun fooX() = 11
inline fun fooY() = 22
@@ -0,0 +1,2 @@
suspend fun fooX() = 11
suspend inline fun fooY() = 22
@@ -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
}
@@ -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
@@ -0,0 +1,8 @@
MODULES: lib1, main
STEP 0:
libs: lib1, main
STEP 1:
libs: lib1, main
STEP 2:
libs: lib1, main