[JS][IC][test] Remove testBreakKlibBinaryCompatibilityWithVariance test

#KT-57078 Fixed
This commit is contained in:
Dmitriy Dolovov
2023-03-03 12:41:06 +01:00
committed by Space Team
parent 153aed29ba
commit 66c278ff8d
11 changed files with 0 additions and 77 deletions
@@ -1,5 +0,0 @@
interface GenericInterface<T>
interface TestInterface {
fun <T> test(f: () -> GenericInterface<out T>) {}
}
@@ -1,5 +0,0 @@
interface GenericInterface<out T>
interface TestInterface {
fun <T> test(f: () -> GenericInterface<T>) {}
}
@@ -1,9 +0,0 @@
STEP 0:
modifications:
U : l1.0.kt -> l1.kt
added file: l1.kt
STEP 1:
modifications:
U : l1.1.kt -> l1.kt
modified ir: l1.kt
updated exports: l1.kt
@@ -1,5 +0,0 @@
class TestClass : TestInterface {
override fun <T> test(f: () -> GenericInterface<out T>) {
f()
}
}
@@ -1,8 +0,0 @@
STEP 0:
dependencies: lib1
modifications:
U : l2.0.kt -> l2.kt
added file: l2.kt
STEP 1:
rebuild klib: false
updated imports: l2.kt
@@ -1,16 +0,0 @@
fun box(stepId: Int): String {
var x = -1
TestClass().test {
object : GenericInterface<Int> {
init {
x = stepId
}
}
}
when (stepId) {
in 0..1 -> if (x != stepId) return "Fail, got $x"
else -> return "Unknown"
}
return "OK"
}
@@ -1,6 +0,0 @@
STEP 0:
dependencies: lib1, lib2
added file: m.kt
STEP 1:
dependencies: lib1, lib2
updated imports: m.kt
@@ -1,8 +0,0 @@
MODULES: lib1, lib2, main
STEP 0:
libs: lib1, lib2, main
dirty js: lib1, lib2, main
STEP 1:
libs: lib1, lib2, main
dirty js: lib1, lib2, main