[JS IR] Invalidate all klib dependencies after removing it
Without the invalidation, broken JS code (with broken cross-module references) may appear. ^KT-54911 Fixed
This commit is contained in:
committed by
Space Team
parent
ca19d71a00
commit
693258ae91
@@ -0,0 +1,7 @@
|
||||
fun box(stepId: Int): String {
|
||||
val x = foo()
|
||||
if (x != stepId) {
|
||||
return "Fail: $x != $stepId"
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
STEP 0:
|
||||
dependencies: lib1
|
||||
added file: m.kt
|
||||
STEP 1:
|
||||
dependencies: lib1-new
|
||||
removed direct depends: m.kt
|
||||
STEP 2:
|
||||
dependencies: lib1-new
|
||||
updated imports: m.kt
|
||||
STEP 3:
|
||||
dependencies: lib1
|
||||
removed direct depends: m.kt
|
||||
STEP 4..5:
|
||||
dependencies: lib1
|
||||
updated imports: m.kt
|
||||
Reference in New Issue
Block a user