[JS IR] Hack IC invalidation test so it works with ES6 classes
Hack the IC invaliadtion test so the cross module references are invalidated in the same way as with ES6 classes and without.
This commit is contained in:
committed by
Space Team
parent
0785b45426
commit
edbd05ba47
Vendored
+6
-2
@@ -1,4 +1,8 @@
|
||||
inline fun foo() : Int {
|
||||
throw NumberFormatException()
|
||||
return 5
|
||||
try {
|
||||
val x = listOf(1)
|
||||
return x[2]
|
||||
} catch(e: Exception) {
|
||||
throw NumberFormatException()
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-3
@@ -1,5 +1,3 @@
|
||||
MUTED
|
||||
|
||||
MODULES: lib1, lib2, main
|
||||
|
||||
STEP 0:
|
||||
@@ -19,7 +17,7 @@ STEP 4:
|
||||
dirty js: lib2, main
|
||||
STEP 5..6:
|
||||
libs: lib1, lib2, main
|
||||
dirty js: lib1, lib2
|
||||
dirty js: lib1, lib2, main
|
||||
STEP 7:
|
||||
libs: lib1, lib2, main
|
||||
dirty js: lib2
|
||||
|
||||
Reference in New Issue
Block a user