[JS IR BE] Fix and refactor interop tests
This commit is contained in:
+3
-2
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// EXPECTED_REACHABLE_NODES: 1300
|
||||
open class M() {
|
||||
open var b: Int = 0
|
||||
@@ -18,7 +17,9 @@ class N() : M() {
|
||||
|
||||
fun box(): String {
|
||||
val n = N()
|
||||
println("a: " + n.a + " b: " + n.b + " superb: " + n.superb)
|
||||
n.a
|
||||
n.b
|
||||
n.superb
|
||||
if (n.b == 3 && n.a == 4 && n.superb == 3) return "OK";
|
||||
return "fail";
|
||||
}
|
||||
+3
-2
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// EXPECTED_REACHABLE_NODES: 1296
|
||||
interface M {
|
||||
var backingB: Int
|
||||
@@ -25,7 +24,9 @@ class N() : M {
|
||||
|
||||
fun box(): String {
|
||||
val n = N()
|
||||
println("a: " + n.a + " b: " + n.b + " superb: " + n.superb)
|
||||
n.a
|
||||
n.b
|
||||
n.superb
|
||||
if (n.b == 3 && n.a == 4 && n.superb == 3) return "OK";
|
||||
return "fail";
|
||||
}
|
||||
Reference in New Issue
Block a user