JVM IR: (Un)mute tests and add more tests for bridge generation

This commit is contained in:
Steven Schäfer
2020-02-03 14:24:47 +01:00
committed by Georgy Bronnikov
parent 12e31a1760
commit 5f6af58aeb
30 changed files with 353 additions and 9 deletions
@@ -0,0 +1,22 @@
// IGNORE_BACKEND: JS_IR
var result = "Fail"
interface A<T> {
fun f(x: T) {
result = x.toString()
}
}
abstract class B1<T> : A<T>
interface B2 {
fun f(x: String)
}
class C : B1<String>(), B2
fun box(): String {
(C() as B2).f("OK")
return result
}