[JS IR] Adapt stepping tests for Kotlin/JS
This commit is contained in:
+6
-1
@@ -8,9 +8,14 @@ fun box() {
|
||||
false
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:2 cond
|
||||
// test.kt:5 box
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:2 cond
|
||||
// test.kt:2 cond
|
||||
|
||||
+8
-1
@@ -8,10 +8,17 @@ fun box() {
|
||||
}
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:3 eval
|
||||
// test.kt:7 invoke
|
||||
// test.kt:3 eval
|
||||
// test.kt:6 box
|
||||
// test.kt:9 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:3 eval_0
|
||||
// test.kt:7 box$lambda
|
||||
// test.kt:7 box$lambda
|
||||
// test.kt:3 eval_0
|
||||
|
||||
@@ -6,12 +6,17 @@ fun box() {
|
||||
}()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 invoke
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:5 box$lambda$0
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:7 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box$lambda
|
||||
// test.kt:5 box$lambda
|
||||
|
||||
+3
-1
@@ -30,7 +30,7 @@ fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:25 box
|
||||
// test.kt:16 box
|
||||
// test.kt:17 box
|
||||
@@ -45,3 +45,5 @@ fun box(): String {
|
||||
// test.kt:8 box
|
||||
// test.kt:13 box
|
||||
// test.kt:30 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+13
-1
@@ -19,7 +19,7 @@ fun box() {
|
||||
foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:19 box
|
||||
// test.kt:11 foo
|
||||
// test.kt:12 foo
|
||||
@@ -34,3 +34,15 @@ fun box() {
|
||||
// test.kt:13 foo
|
||||
// test.kt:16 foo
|
||||
// test.kt:20 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:19 box
|
||||
// test.kt:12 foo
|
||||
// test.kt:6 alternate
|
||||
// test.kt:7 alternate
|
||||
// test.kt:7 alternate
|
||||
// test.kt:12 foo
|
||||
// test.kt:6 alternate
|
||||
// test.kt:7 alternate
|
||||
// test.kt:7 alternate
|
||||
// test.kt:13 foo
|
||||
|
||||
+13
-1
@@ -13,7 +13,7 @@ fun box() {
|
||||
)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:8 box
|
||||
@@ -31,3 +31,15 @@ fun box() {
|
||||
// test.kt:5 bar
|
||||
// test.kt:9 box
|
||||
// test.kt:14 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
// test.kt:5 bar
|
||||
// test.kt:5 bar
|
||||
// test.kt:9 box
|
||||
// test.kt:5 bar
|
||||
// test.kt:5 bar
|
||||
// test.kt:9 box
|
||||
// test.kt:5 bar
|
||||
// test.kt:5 bar
|
||||
|
||||
+8
-1
@@ -14,7 +14,7 @@ fun box() {
|
||||
.bar()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:9 box
|
||||
@@ -26,3 +26,10 @@ fun box() {
|
||||
// test.kt:14 box
|
||||
// test.kt:5 box
|
||||
// test.kt:15 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
// test.kt:4 A.foo_26di_k$
|
||||
// test.kt:4 A.foo_26di_k$
|
||||
// test.kt:5 box
|
||||
|
||||
+8
-1
@@ -10,7 +10,7 @@ fun f(block: () -> Unit) {
|
||||
block()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:10 f
|
||||
@@ -19,3 +19,10 @@ fun f(block: () -> Unit) {
|
||||
// test.kt:10 f
|
||||
// test.kt:11 f
|
||||
// test.kt:7 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:4 box
|
||||
// test.kt:10 f
|
||||
// test.kt:5
|
||||
|
||||
+14
-2
@@ -14,7 +14,7 @@ fun box() {
|
||||
.bar()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:9 box
|
||||
@@ -27,4 +27,16 @@ fun box() {
|
||||
// test.kt:5 box
|
||||
// test.kt:14 box
|
||||
// test.kt:5 box
|
||||
// test.kt:15 box
|
||||
// test.kt:15 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
// test.kt:4 A.foo_26di_k$
|
||||
// test.kt:4 A.foo_26di_k$
|
||||
// test.kt:10 box
|
||||
// test.kt:4 A.foo_26di_k$
|
||||
// test.kt:4 A.foo_26di_k$
|
||||
// test.kt:5 box
|
||||
// test.kt:13 box
|
||||
// test.kt:5 box
|
||||
|
||||
+7
-2
@@ -18,13 +18,13 @@ fun box() {
|
||||
// three to be hit both on entry to the constructor and on exit after storing the
|
||||
// value of prop.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:12 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:4 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:3 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:12 box
|
||||
// test.kt:13 box
|
||||
// test.kt:4 getProp
|
||||
@@ -33,3 +33,8 @@ fun box() {
|
||||
// test.kt:7 foo
|
||||
// test.kt:8 foo
|
||||
// test.kt:15 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:12 box
|
||||
// test.kt:4 A
|
||||
// test.kt:14 box
|
||||
|
||||
+11
-1
@@ -16,7 +16,7 @@ fun box() {
|
||||
A.foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:14 box
|
||||
// test.kt:5 <clinit>
|
||||
// test.kt:6 <clinit>
|
||||
@@ -37,3 +37,13 @@ fun box() {
|
||||
// test.kt:8 foo
|
||||
// test.kt:16 box
|
||||
// test.kt:17 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:14 box
|
||||
// test.kt:5 Companion_19
|
||||
// test.kt:6 Companion_19
|
||||
// test.kt:15 box
|
||||
// test.kt:16 box
|
||||
// test.kt:16 box
|
||||
// test.kt:8 Companion_19.foo_26di_k$
|
||||
// test.kt:8 Companion_19.foo_26di_k$
|
||||
|
||||
+4
-1
@@ -5,7 +5,10 @@ fun box() {
|
||||
42
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:4 box
|
||||
// test.kt:6 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
|
||||
+4
-1
@@ -18,7 +18,7 @@ fun getC() = false
|
||||
|
||||
fun getD() = true
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:13 getA
|
||||
// test.kt:3 box
|
||||
@@ -31,3 +31,6 @@ fun getD() = true
|
||||
// test.kt:9 box
|
||||
// test.kt:3 box
|
||||
// test.kt:11 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
|
||||
+7
-2
@@ -14,12 +14,17 @@ fun test(): Long {
|
||||
return 1
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:9 test
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:10 test
|
||||
// test.kt:11 test
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:11 test
|
||||
// test.kt:11 test
|
||||
|
||||
+12
-2
@@ -13,7 +13,7 @@ fun box() {
|
||||
4)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:6 box
|
||||
@@ -30,4 +30,14 @@ fun box() {
|
||||
// test.kt:12 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:12 box
|
||||
// test.kt:14 box
|
||||
// test.kt:14 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:3 A
|
||||
// test.kt:7 box
|
||||
// test.kt:3 A
|
||||
// test.kt:10 box
|
||||
// test.kt:3 A
|
||||
// test.kt:12 box
|
||||
// test.kt:3 A
|
||||
|
||||
+51
-16
@@ -84,7 +84,7 @@ class O<T>(i: T) {
|
||||
// are there in the class file fro JVM, but there is no guarantee that there is an instruction to
|
||||
// step on and sometimes there is no step on the end brace.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:19 <init>
|
||||
// test.kt:4 box
|
||||
@@ -100,20 +100,20 @@ class O<T>(i: T) {
|
||||
// test.kt:8 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:28 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:29 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:30 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:33 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:34 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:35 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
// test.kt:37 <init>
|
||||
@@ -122,7 +122,7 @@ class O<T>(i: T) {
|
||||
// test.kt:40 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:37 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:10 box
|
||||
// test.kt:11 box
|
||||
// test.kt:42 <init>
|
||||
@@ -131,45 +131,45 @@ class O<T>(i: T) {
|
||||
// test.kt:45 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:42 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:11 box
|
||||
// test.kt:12 box
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:49 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:48 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:52 <init>
|
||||
// test.kt:53 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:54 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:49 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:50 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:12 box
|
||||
// test.kt:13 box
|
||||
// test.kt:57 <init>
|
||||
// test.kt:61 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:62 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:58 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:59 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 box
|
||||
// test.kt:14 box
|
||||
// test.kt:65 <init>
|
||||
// test.kt:69 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:70 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:66 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:67 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:14 box
|
||||
// test.kt:15 box
|
||||
// test.kt:72 <init>
|
||||
@@ -181,6 +181,41 @@ class O<T>(i: T) {
|
||||
// test.kt:73 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:74 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:16 box
|
||||
// test.kt:17 box
|
||||
// test.kt:17 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:20 C
|
||||
// test.kt:6 box
|
||||
// test.kt:22 D_init_$Init$
|
||||
// test.kt:7 box
|
||||
// test.kt:25 E_init_$Init$
|
||||
// test.kt:8 box
|
||||
// test.kt:28 F_init_$Init$
|
||||
// test.kt:29 F_init_$Init$
|
||||
// test.kt:9 box
|
||||
// test.kt:33 G_init_$Init$
|
||||
// test.kt:34 G_init_$Init$
|
||||
// test.kt:10 box
|
||||
// test.kt:39 J
|
||||
// test.kt:11 box
|
||||
// test.kt:42 K
|
||||
// test.kt:44 K
|
||||
// test.kt:12 box
|
||||
// test.kt:48 L_init_$Init$
|
||||
// test.kt:53 L
|
||||
// test.kt:49 L_init_$Init$
|
||||
// test.kt:13 box
|
||||
// test.kt:57 M_init_$Init$
|
||||
// test.kt:61 M_init_$Init$_0
|
||||
// test.kt:58 M_init_$Init$
|
||||
// test.kt:14 box
|
||||
// test.kt:65 N_init_$Init$
|
||||
// test.kt:69 N_init_$Init$_0
|
||||
// test.kt:66 N_init_$Init$
|
||||
// test.kt:15 box
|
||||
// test.kt:16 box
|
||||
// test.kt:73 O_init_$Init$
|
||||
|
||||
+70
-2
@@ -24,7 +24,7 @@ fun box() {
|
||||
e.copy()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:13 box
|
||||
@@ -58,4 +58,72 @@ fun box() {
|
||||
// test.kt:5 <init>
|
||||
// test.kt:9 copy
|
||||
// test.kt:24 box
|
||||
// test.kt:25 box
|
||||
// test.kt:25 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:13 box
|
||||
// test.kt:3 D
|
||||
// test.kt:3 D
|
||||
// test.kt:14 box
|
||||
// test.kt:3 D
|
||||
// test.kt:3 D
|
||||
// test.kt:14 box
|
||||
// test.kt:1 D.equals
|
||||
// test.kt:1 D.equals
|
||||
// test.kt:1 D.equals
|
||||
// test.kt:1 D.equals
|
||||
// test.kt:1 D.equals
|
||||
// test.kt:1 D.equals
|
||||
// test.kt:1 D.equals
|
||||
// test.kt:15 box
|
||||
// test.kt:1 D.hashCode
|
||||
// test.kt:1 D.hashCode
|
||||
// test.kt:1 D.hashCode
|
||||
// test.kt:16 box
|
||||
// test.kt:1 D.toString
|
||||
// test.kt:1 D.toString
|
||||
// test.kt:17 box
|
||||
// test.kt:17 box
|
||||
// test.kt:1 D.component1_7eebsc_k$
|
||||
// test.kt:1 D.component1_7eebsc_k$
|
||||
// test.kt:17 box
|
||||
// test.kt:1 D.component2_7eebsb_k$
|
||||
// test.kt:1 D.component2_7eebsb_k$
|
||||
// test.kt:18 box
|
||||
// test.kt:1 D.copy$default_cbhffz_k$
|
||||
// test.kt:1 D.copy$default_cbhffz_k$
|
||||
// test.kt:1 D.copy$default_cbhffz_k$
|
||||
// test.kt:1 D.copy$default_cbhffz_k$
|
||||
// test.kt:1 D.copy$default_cbhffz_k$
|
||||
// test.kt:1 D.copy_t8q04r_k$
|
||||
// test.kt:3 D
|
||||
// test.kt:3 D
|
||||
// test.kt:1 D.copy_t8q04r_k$
|
||||
// test.kt:1 D.copy$default_cbhffz_k$
|
||||
// test.kt:19 box
|
||||
// test.kt:5 E
|
||||
// test.kt:5 E
|
||||
// test.kt:20 box
|
||||
// test.kt:5 E
|
||||
// test.kt:5 E
|
||||
// test.kt:20 box
|
||||
// test.kt:7 E.equals
|
||||
// test.kt:7 E.equals
|
||||
// test.kt:21 box
|
||||
// test.kt:8 E.hashCode
|
||||
// test.kt:8 E.hashCode
|
||||
// test.kt:22 box
|
||||
// test.kt:6 E.toString
|
||||
// test.kt:6 E.toString
|
||||
// test.kt:23 box
|
||||
// test.kt:23 box
|
||||
// test.kt:1 E.component1_7eebsc_k$
|
||||
// test.kt:1 E.component1_7eebsc_k$
|
||||
// test.kt:23 box
|
||||
// test.kt:1 E.component2_7eebsb_k$
|
||||
// test.kt:1 E.component2_7eebsb_k$
|
||||
// test.kt:24 box
|
||||
// test.kt:9 E.copy_1tks5_k$
|
||||
// test.kt:5 E
|
||||
// test.kt:5 E
|
||||
// test.kt:9 E.copy_1tks5_k$
|
||||
|
||||
+11
-1
@@ -12,7 +12,7 @@ fun box() {
|
||||
}
|
||||
|
||||
// FORCE_STEP_INTO
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:11 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:11 box
|
||||
@@ -22,3 +22,13 @@ fun box() {
|
||||
// test.kt:7 foo
|
||||
// test.kt:6 foo$default (synthetic)
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:11 box
|
||||
// test.kt:11 box
|
||||
// test.kt:6 A.foo$default_dec9f7_k$
|
||||
// test.kt:6 A.foo$default_dec9f7_k$
|
||||
// test.kt:4 A.computeParam_vubdyi_k$
|
||||
// test.kt:4 A.computeParam_vubdyi_k$
|
||||
// test.kt:6 A.foo$default_dec9f7_k$
|
||||
// test.kt:6 A.foo$default_dec9f7_k$
|
||||
|
||||
+16
-4
@@ -34,12 +34,12 @@ fun box() {
|
||||
// for the evaluation of the arguments constructor and for the constructor call,
|
||||
// but not for the allocation of the object.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:22 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 <clinit>
|
||||
// test.kt:5 <clinit>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 foo
|
||||
// test.kt:9 foo
|
||||
// test.kt:22 box
|
||||
@@ -47,7 +47,19 @@ fun box() {
|
||||
// test.kt:15 <clinit>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:16 <clinit>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:17 <clinit>
|
||||
// test.kt:16 <clinit>
|
||||
// test.kt:24 box
|
||||
// test.kt:24 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:22 box
|
||||
// test.kt:11 E
|
||||
// test.kt:11 E
|
||||
// test.kt:22 box
|
||||
// test.kt:9 E.foo_26di_k$
|
||||
// test.kt:9 E.foo_26di_k$
|
||||
// test.kt:15 E2_initEntries
|
||||
// test.kt:14 E2
|
||||
// test.kt:17 E2_initEntries
|
||||
// test.kt:14 E2
|
||||
|
||||
+13
-1
@@ -7,7 +7,7 @@ fun box() {
|
||||
|
||||
inline fun foo(n: Int) {}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:8 box
|
||||
@@ -19,3 +19,15 @@ inline fun foo(n: Int) {}
|
||||
// test.kt:8 box
|
||||
// test.kt:3 box
|
||||
// test.kt:6 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
// test.kt:3 box
|
||||
|
||||
@@ -12,7 +12,7 @@ inline fun bar(i: Int = 1) {
|
||||
}
|
||||
|
||||
// FORCE_STEP_INTO
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:8 foo$default (synthetic)
|
||||
// test.kt:9 foo
|
||||
@@ -21,3 +21,10 @@ inline fun bar(i: Int = 1) {
|
||||
// test.kt:11 box
|
||||
// test.kt:12 box
|
||||
// test.kt:6 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:8 foo$default
|
||||
// test.kt:8 foo$default
|
||||
// test.kt:8 foo$default
|
||||
// test.kt:8 foo$default
|
||||
|
||||
@@ -16,19 +16,21 @@ inline fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// test.kt:4 box
|
||||
// test.kt:14 box
|
||||
// test.kt:15 box
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:15 box
|
||||
// test.kt:16 box
|
||||
// test.kt:6 box
|
||||
// test.kt:15 box
|
||||
// test.kt:7 box
|
||||
// test.kt:16 box
|
||||
// test.kt:8 box
|
||||
// test.kt:14 box
|
||||
// test.kt:15 box
|
||||
// test.kt:17 box
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
// test.kt:15 box
|
||||
// test.kt:16 box
|
||||
// test.kt:10 box
|
||||
// test.kt:11 box
|
||||
// test.kt:16 box
|
||||
// test.kt:17 box
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
@@ -14,7 +14,7 @@ fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:14 foo
|
||||
// test.kt:5 invoke
|
||||
@@ -28,3 +28,11 @@ fun foo(f: () -> Unit) {
|
||||
// test.kt:14 foo
|
||||
// test.kt:15 foo
|
||||
// test.kt:11 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:14 foo
|
||||
// test.kt:5 box$lambda
|
||||
// test.kt:8 box
|
||||
// test.kt:14 foo
|
||||
// test.kt:9 box$lambda_0
|
||||
|
||||
+14
-1
@@ -20,7 +20,7 @@ fun bar(x: Int) =
|
||||
foo(x)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 box
|
||||
// foo.kt:4 foo
|
||||
// foo.kt:7 foo
|
||||
@@ -33,3 +33,16 @@ fun bar(x: Int) =
|
||||
// foo.kt:7 foo
|
||||
// test.kt:13 box
|
||||
// test.kt:14 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:13 box
|
||||
// foo.kt:4 foo
|
||||
// foo.kt:7 foo
|
||||
// test.kt:17 bar
|
||||
// test.kt:18 bar
|
||||
// foo.kt:4 foo
|
||||
// foo.kt:5 foo
|
||||
// foo.kt:5 foo
|
||||
// test.kt:21 bar
|
||||
// test.kt:21 bar
|
||||
// foo.kt:7 foo
|
||||
|
||||
+3
-1
@@ -14,7 +14,7 @@ inline fun getB(): Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:14 box
|
||||
// test.kt:6 box
|
||||
@@ -23,3 +23,5 @@ inline fun getB(): Int {
|
||||
// test.kt:8 box
|
||||
// test.kt:14 box
|
||||
// test.kt:8 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+11
-1
@@ -21,7 +21,7 @@ fun box() {
|
||||
foo(0)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:20 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
@@ -37,3 +37,13 @@ fun box() {
|
||||
// test.kt:15 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:22 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:20 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:8 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:21 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:8 foo
|
||||
// test.kt:12 foo
|
||||
|
||||
+10
-1
@@ -14,7 +14,7 @@ fun box() {
|
||||
foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:12 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
@@ -23,3 +23,12 @@ fun box() {
|
||||
// test.kt:4 foo
|
||||
// test.kt:7 foo
|
||||
// test.kt:15 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:12 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:13 box
|
||||
// test.kt:14 box
|
||||
// test.kt:4 foo
|
||||
|
||||
+14
-1
@@ -22,7 +22,7 @@ fun box() {
|
||||
foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:20 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
@@ -39,3 +39,16 @@ fun box() {
|
||||
// test.kt:10 foo
|
||||
// test.kt:15 foo
|
||||
// test.kt:23 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:20 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:21 box
|
||||
// test.kt:22 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
|
||||
+15
-1
@@ -17,7 +17,7 @@ fun box() {
|
||||
foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:15 box
|
||||
// test.kt:8 foo
|
||||
// test.kt:5 cond
|
||||
@@ -34,3 +34,17 @@ fun box() {
|
||||
// test.kt:9 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:18 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:15 box
|
||||
// test.kt:8 foo
|
||||
// test.kt:5 cond
|
||||
// test.kt:5 cond
|
||||
// test.kt:16 box
|
||||
// test.kt:17 box
|
||||
// test.kt:8 foo
|
||||
// test.kt:5 cond
|
||||
// test.kt:5 cond
|
||||
// test.kt:9 foo
|
||||
// test.kt:5 cond
|
||||
// test.kt:5 cond
|
||||
|
||||
+17
-1
@@ -29,7 +29,7 @@ inline fun Boolean.rid(): Boolean = this
|
||||
|
||||
fun nop() {}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:24 box
|
||||
// test.kt:3 box
|
||||
@@ -54,3 +54,19 @@ fun nop() {}
|
||||
// test.kt:19 box
|
||||
// test.kt:30 nop
|
||||
// test.kt:21 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:24 box
|
||||
// test.kt:8 box
|
||||
// test.kt:28 box
|
||||
// test.kt:8 box
|
||||
// test.kt:24 box
|
||||
// test.kt:9 box
|
||||
// test.kt:11 box
|
||||
// test.kt:24 box
|
||||
// test.kt:16 box
|
||||
// test.kt:27 box
|
||||
// test.kt:15 box
|
||||
// test.kt:19 box
|
||||
|
||||
+12
-1
@@ -26,7 +26,7 @@ fun box() {
|
||||
// the line number for the actual assignment makes more sense as
|
||||
// that is the actual evaluation order.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
@@ -45,3 +45,14 @@ fun box() {
|
||||
// test.kt:16 box
|
||||
// test.kt:15 box
|
||||
// test.kt:18 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test.kt:7 box
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
// test.kt:12 box
|
||||
// test.kt:13 box
|
||||
// test.kt:15 box
|
||||
|
||||
@@ -19,18 +19,20 @@ inline fun baz() {
|
||||
|
||||
fun nop() {}
|
||||
|
||||
// EXPECTATIONS
|
||||
// test.kt:4 box
|
||||
// test.kt:11 box
|
||||
// test.kt:19 nop
|
||||
// test.kt:12 box
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:19 nop
|
||||
// test.kt:6 box
|
||||
// test.kt:16 box
|
||||
// test.kt:19 nop
|
||||
// test.kt:17 box
|
||||
// test.kt:7 box
|
||||
// test.kt:12 box
|
||||
// test.kt:20 nop
|
||||
// test.kt:13 box
|
||||
// test.kt:6 box
|
||||
// test.kt:20 nop
|
||||
// test.kt:7 box
|
||||
// test.kt:17 box
|
||||
// test.kt:20 nop
|
||||
// test.kt:18 box
|
||||
// test.kt:8 box
|
||||
// test.kt:13 box
|
||||
// test.kt:14 box
|
||||
// test.kt:9 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+25
-5
@@ -54,7 +54,7 @@ fun box() {
|
||||
// JVM_IR has an extra step back to the line of the class
|
||||
// declaration for the return in the constructor.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:48 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:6 <init>
|
||||
@@ -64,7 +64,7 @@ fun box() {
|
||||
// test.kt:8 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:3 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:48 box
|
||||
// test.kt:49 box
|
||||
// test.kt:11 <init>
|
||||
@@ -76,7 +76,7 @@ fun box() {
|
||||
// test.kt:18 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:11 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:49 box
|
||||
// test.kt:50 box
|
||||
// test.kt:21 <init>
|
||||
@@ -91,7 +91,7 @@ fun box() {
|
||||
// test.kt:30 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:21 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:50 box
|
||||
// test.kt:51 box
|
||||
// test.kt:33 <init>
|
||||
@@ -103,6 +103,26 @@ fun box() {
|
||||
// test.kt:42 <init>
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:33 <init>
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:51 box
|
||||
// test.kt:52 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:48 box
|
||||
// test.kt:7 Foo
|
||||
// test.kt:45 x
|
||||
// test.kt:45 x
|
||||
// test.kt:49 box
|
||||
// test.kt:13 Bar
|
||||
// test.kt:17 Bar
|
||||
// test.kt:50 box
|
||||
// test.kt:23 Boo
|
||||
// test.kt:26 Boo
|
||||
// test.kt:45 x
|
||||
// test.kt:45 x
|
||||
// test.kt:29 Boo
|
||||
// test.kt:51 box
|
||||
// test.kt:34 Zoo
|
||||
// test.kt:36 Zoo
|
||||
// test.kt:39 Zoo
|
||||
// test.kt:42 Zoo
|
||||
|
||||
+12
-1
@@ -30,7 +30,7 @@ fun box() {
|
||||
A.s
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:29 box
|
||||
// test.kt:7 <clinit>
|
||||
// test.kt:8 <clinit>
|
||||
@@ -51,3 +51,14 @@ fun box() {
|
||||
// test.kt:5 getS
|
||||
// test.kt:30 box
|
||||
// test.kt:31 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:29 box
|
||||
// test.kt:8 Companion_19
|
||||
// test.kt:11 Companion_19
|
||||
// test.kt:26 x
|
||||
// test.kt:26 x
|
||||
// test.kt:13 Companion_19
|
||||
// test.kt:16 Companion_19
|
||||
// test.kt:21 Companion_19
|
||||
// test.kt:30 box
|
||||
|
||||
@@ -15,7 +15,7 @@ inline fun f(block: () -> Unit) {
|
||||
block()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:15 box
|
||||
@@ -32,4 +32,10 @@ inline fun f(block: () -> Unit) {
|
||||
// test.kt:11 box
|
||||
// test.kt:15 box
|
||||
// test.kt:16 box
|
||||
// test.kt:12 box
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:5 box
|
||||
// test.kt:7 box
|
||||
// test.kt:10 box
|
||||
|
||||
@@ -10,7 +10,7 @@ inline fun f(block: () -> Unit) {
|
||||
|
||||
fun g() {}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:8 box
|
||||
@@ -19,3 +19,7 @@ fun g() {}
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
// test.kt:5 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:8 box
|
||||
|
||||
+16
-14
@@ -23,29 +23,31 @@ fun box() {
|
||||
}
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// test.kt:8 box
|
||||
// test.kt:4 box
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 box
|
||||
// test.kt:5 box
|
||||
// test.kt:10 box
|
||||
// test.kt:4 box
|
||||
// test.kt:11 box
|
||||
// test.kt:5 box
|
||||
// test.kt:12 box
|
||||
// test.kt:4 box
|
||||
// test.kt:6 box
|
||||
// test.kt:13 box
|
||||
// test.kt:5 box
|
||||
// test.kt:14 box
|
||||
// test.kt:4 box
|
||||
// test.kt:15 box
|
||||
// test.kt:5 box
|
||||
// test.kt:16 box
|
||||
// test.kt:4 box
|
||||
// test.kt:6 box
|
||||
// test.kt:17 box
|
||||
// test.kt:19 box
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:18 box
|
||||
// test.kt:20 box
|
||||
// test.kt:5 box
|
||||
// test.kt:21 box
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:22 box
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test.kt:23 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test.kt:24 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+7
-2
@@ -14,11 +14,16 @@ fun box() {
|
||||
|
||||
// IR backend has additional steps on the way _out_ of the init block.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:12 box
|
||||
// test.kt:6 makeFace
|
||||
// test.kt:6 <init>
|
||||
// test.kt:8 <init>
|
||||
// test.kt:9 makeFace
|
||||
// test.kt:12 box
|
||||
// test.kt:13 box
|
||||
// test.kt:13 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:12 box
|
||||
// test.kt:9 makeFace
|
||||
// test.kt:9 makeFace
|
||||
|
||||
+7
-2
@@ -15,7 +15,7 @@ fun box() {
|
||||
A().foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:15 box
|
||||
// test.kt:4 <init>
|
||||
// test.kt:5 <init>
|
||||
@@ -23,4 +23,9 @@ fun box() {
|
||||
// test.kt:8 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:16 box
|
||||
// test.kt:16 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:15 box
|
||||
// test.kt:5 A
|
||||
// test.kt:15 box
|
||||
|
||||
+7
-2
@@ -7,7 +7,7 @@ fun box() {
|
||||
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
inline fun foo() = {
|
||||
}
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test1.kt:8 box
|
||||
// test1.kt:9 box
|
||||
@@ -15,5 +15,10 @@ inline fun foo() = {
|
||||
// test.kt:4 box
|
||||
// test1.kt:9 invoke
|
||||
// test.kt:4 box
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test1.kt:6 box$lambda
|
||||
// test1.kt:6 box$lambda
|
||||
|
||||
+7
-1
@@ -8,7 +8,7 @@ fun box() {
|
||||
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||
inline fun foo() = {
|
||||
}
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test1.kt:9 box
|
||||
// test1.kt:10 box
|
||||
@@ -23,3 +23,9 @@ inline fun foo() = {
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test1.kt:7 box$lambda
|
||||
// test1.kt:7 box$lambda
|
||||
|
||||
+15
-3
@@ -13,7 +13,7 @@ inline fun foo() = {
|
||||
fun baz(v:(() -> Unit)) {
|
||||
v()
|
||||
}
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test1.kt:10 box
|
||||
// test1.kt:11 box
|
||||
@@ -22,7 +22,7 @@ fun baz(v:(() -> Unit)) {
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test1.kt:11 invoke
|
||||
// test3.kt:14 baz
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test3.kt:15 baz
|
||||
// test.kt:5 box
|
||||
// test1.kt:10 box
|
||||
@@ -32,7 +32,19 @@ fun baz(v:(() -> Unit)) {
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test3.kt:14 baz
|
||||
// test1.kt:11 invoke
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test3.kt:14 baz
|
||||
// test3.kt:15 baz
|
||||
// test.kt:7 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test3.kt:14 baz
|
||||
// test1.kt:8 box$lambda
|
||||
// test1.kt:8 box$lambda
|
||||
// test1.kt:11 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test3.kt:14 baz
|
||||
// test1.kt:8 box$lambda_0
|
||||
// test1.kt:8 box$lambda_0
|
||||
|
||||
+9
-1
@@ -13,7 +13,7 @@ fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:4 box
|
||||
// test.kt:8 box
|
||||
@@ -23,3 +23,11 @@ fun box(): String {
|
||||
// test.kt:10 box
|
||||
// test.kt:4 box
|
||||
// test.kt:13 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:4 box
|
||||
// test.kt:10 box
|
||||
// test.kt:4 box
|
||||
// test.kt:13 box
|
||||
// test.kt:13 box
|
||||
|
||||
@@ -17,7 +17,7 @@ fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:15 box
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
@@ -29,3 +29,5 @@ fun box(): String {
|
||||
// test.kt:8 box
|
||||
// test.kt:11 box
|
||||
// test.kt:17 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
@@ -23,7 +23,7 @@ fun box() {
|
||||
test2()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:22 box
|
||||
// test.kt:12 test1
|
||||
// test.kt:8 test1
|
||||
@@ -36,4 +36,9 @@ fun box() {
|
||||
// test.kt:5 normalFunction
|
||||
// test.kt:18 test2
|
||||
// test.kt:19 test2
|
||||
// test.kt:24 box
|
||||
// test.kt:24 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:22 box
|
||||
// test.kt:23 box
|
||||
// test.kt:17 test2
|
||||
|
||||
@@ -12,7 +12,7 @@ inline fun lookAtMe(f: (String) -> Unit) {
|
||||
f(a)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:11 box
|
||||
// test.kt:12 box
|
||||
@@ -21,3 +21,5 @@ inline fun lookAtMe(f: (String) -> Unit) {
|
||||
// test.kt:12 box
|
||||
// test.kt:13 box
|
||||
// test.kt:8 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+14
-12
@@ -11,19 +11,21 @@ fun box() {
|
||||
"OK"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// test.kt:4 box
|
||||
// EXPECTATIONS JVM
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// EXPECTATIONS
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:6 invoke
|
||||
// test.kt:7 invoke
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:6 box$bar
|
||||
// test.kt:7 box$bar
|
||||
// EXPECTATIONS
|
||||
// test.kt:6 box
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:7 invoke
|
||||
// test.kt:8 invoke
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:7 box$bar
|
||||
// test.kt:8 box$bar
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:11 box
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
@@ -9,18 +9,20 @@ fun box() {
|
||||
"OK"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:6 box
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 box
|
||||
// test.kt:8 box
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:6 invoke
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:6 box$bar
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+8
-2
@@ -13,9 +13,15 @@ fun box(): String {
|
||||
return o + k
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
|
||||
// test.kt:8 box
|
||||
// test.kt:6 box
|
||||
// test.kt:11 box
|
||||
// test.kt:13 box
|
||||
// test.kt:13 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:11 box
|
||||
// test.kt:13 box
|
||||
// test.kt:13 box
|
||||
|
||||
+9
-1
@@ -15,7 +15,7 @@ fun box() {
|
||||
b()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:14 box
|
||||
// a.kt:4 a
|
||||
// test.kt:14 box
|
||||
@@ -23,3 +23,11 @@ fun box() {
|
||||
// b.kt:8 b
|
||||
// test.kt:15 box
|
||||
// test.kt:16 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:14 box
|
||||
// a.kt:4 a
|
||||
// a.kt:4 a
|
||||
// test.kt:15 box
|
||||
// b.kt:8 b
|
||||
// b.kt:8 b
|
||||
|
||||
+7
-2
@@ -11,13 +11,18 @@ fun test(a: Boolean, b: Boolean, c: Boolean): Boolean {
|
||||
&& c
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:9 test
|
||||
// test.kt:10 test
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:11 test
|
||||
// test.kt:9 test
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:9 test
|
||||
// test.kt:9 test
|
||||
|
||||
@@ -9,8 +9,11 @@ fun box() {
|
||||
fun foo(i: Int) {
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:4 box
|
||||
// test.kt:10 foo
|
||||
// test.kt:7 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
|
||||
+4
-1
@@ -8,9 +8,12 @@ fun box() {
|
||||
infix fun Int.foo(i: Int) {
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:4 box
|
||||
// test.kt:9 foo
|
||||
// test.kt:6 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
|
||||
+11
-2
@@ -16,15 +16,24 @@ fun g() {}
|
||||
// for the invoke method bridged to. Therefore, the entry line number for invoke only shows
|
||||
// up for JVM_IR.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:8 f
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 invoke
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:11 g
|
||||
// test.kt:4 invoke
|
||||
// test.kt:8 f
|
||||
// test.kt:9 f
|
||||
// test.kt:5 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:4 box
|
||||
// test.kt:8 f
|
||||
// test.kt:4 l
|
||||
// test.kt:4 l
|
||||
// test.kt:4 l
|
||||
|
||||
+6
-1
@@ -41,7 +41,7 @@ inline fun html(init: () -> Unit) {
|
||||
return init(init)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:19 box
|
||||
// test.kt:7 box
|
||||
// test.kt:9 box
|
||||
@@ -63,3 +63,8 @@ inline fun html(init: () -> Unit) {
|
||||
// test.kt:15 box
|
||||
// test.kt:19 box
|
||||
// test.kt:21 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:19 box
|
||||
// test.kt:21 box
|
||||
// test.kt:21 box
|
||||
|
||||
@@ -12,11 +12,13 @@ inline fun lookAtMe(f: () -> Int) {
|
||||
a + f()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// test.kt:4 box
|
||||
// test.kt:10 box
|
||||
// test.kt:11 box
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:11 box
|
||||
// test.kt:12 box
|
||||
// test.kt:7 box
|
||||
// test.kt:6 box
|
||||
// test.kt:12 box
|
||||
// test.kt:13 box
|
||||
// test.kt:8 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+15
-2
@@ -20,7 +20,6 @@ fun testExpressionBody(nullable: String?) =
|
||||
// Some comment
|
||||
nullable.length == 2
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:6 box
|
||||
// test.kt:15 test
|
||||
@@ -65,4 +64,18 @@ fun testExpressionBody(nullable: String?) =
|
||||
// test.kt:21 testExpressionBody
|
||||
// test.kt:9 box
|
||||
|
||||
// test.kt:10 box
|
||||
// test.kt:10 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:13 test
|
||||
// test.kt:13 test
|
||||
// test.kt:7 box
|
||||
// test.kt:13 test
|
||||
// test.kt:13 test
|
||||
// test.kt:8 box
|
||||
// test.kt:21 testExpressionBody
|
||||
// test.kt:21 testExpressionBody
|
||||
// test.kt:9 box
|
||||
// test.kt:21 testExpressionBody
|
||||
// test.kt:21 testExpressionBody
|
||||
|
||||
+9
-2
@@ -6,7 +6,14 @@ fun box(): String {
|
||||
return "OK"!!
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test.kt:6 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test.kt:6 box
|
||||
|
||||
+7
-1
@@ -11,10 +11,16 @@ fun box() {
|
||||
A().prop
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:11 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:11 box
|
||||
// test.kt:6 getProp
|
||||
// test.kt:11 box
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:11 box
|
||||
// test.kt:11 box
|
||||
// test.kt:6 A.get_prop_wosl9o_k$
|
||||
// test.kt:6 A.get_prop_wosl9o_k$
|
||||
|
||||
+5
-1
@@ -8,8 +8,12 @@ fun box() {
|
||||
main(arrayOf("OK"))
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:4 main
|
||||
// test.kt:5 main
|
||||
// test.kt:9 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:4 main
|
||||
|
||||
+16
-1
@@ -11,7 +11,7 @@ fun foo(n :Int ) : Int {
|
||||
return foo(n-1) * n
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:8 foo
|
||||
@@ -24,3 +24,18 @@ fun foo(n :Int ) : Int {
|
||||
// test.kt:11 foo
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:8 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:8 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:8 foo
|
||||
// test.kt:9 foo
|
||||
// test.kt:9 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:11 foo
|
||||
|
||||
+12
-2
@@ -9,9 +9,19 @@ fun box(): String {
|
||||
}
|
||||
|
||||
// FORCE_STEP_INTO
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:3 ifoo$default (synthetic)
|
||||
// test.kt:4 ifoo
|
||||
// test.kt:3 ifoo$default (synthetic)
|
||||
// test.kt:8 box
|
||||
// test.kt:8 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:3 ifoo$default
|
||||
// test.kt:3 ifoo$default
|
||||
// test.kt:3 ifoo$default
|
||||
// test.kt:4 ifoo
|
||||
// test.kt:4 ifoo
|
||||
// test.kt:3 ifoo$default
|
||||
// test.kt:8 box
|
||||
|
||||
@@ -15,7 +15,7 @@ fun box(): String {
|
||||
}
|
||||
|
||||
// FORCE_STEP_INTO
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 box
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
@@ -24,3 +24,5 @@ fun box(): String {
|
||||
// test.kt:9 ifoo2
|
||||
// test.kt:8 ifoo2$default (synthetic)
|
||||
// test.kt:14 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
@@ -27,12 +27,15 @@ fun box(): String {
|
||||
// for the inline function are only used for instructions covered by
|
||||
// the `$i$f$alsoInline` variable life time.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:10 box
|
||||
// test.kt:5 box
|
||||
// test.kt:3 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:5 box
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:10 box
|
||||
// test.kt:10 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:10 box
|
||||
|
||||
+3
-1
@@ -12,7 +12,7 @@ fun box() {
|
||||
}
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:10 box
|
||||
// test.kt:6 box
|
||||
// test.kt:11 box
|
||||
@@ -20,3 +20,5 @@ fun box() {
|
||||
// test.kt:6 box
|
||||
// test.kt:7 box
|
||||
// test.kt:13 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+13
-2
@@ -20,7 +20,7 @@ fun fail() : String {
|
||||
return "fail"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:16 box
|
||||
// test.kt:5 box
|
||||
@@ -35,4 +35,15 @@ fun fail() : String {
|
||||
// test.kt:7 box
|
||||
// test.kt:12 checkEquals
|
||||
// test.kt:13 checkEquals
|
||||
// test.kt:9 box
|
||||
// test.kt:9 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:20 fail
|
||||
// test.kt:20 fail
|
||||
// test.kt:4 box
|
||||
// test.kt:7 box
|
||||
// test.kt:20 fail
|
||||
// test.kt:20 fail
|
||||
// test.kt:16 box
|
||||
// test.kt:7 box
|
||||
|
||||
@@ -18,7 +18,7 @@ fun fail() : String {
|
||||
return "fail"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:14 box
|
||||
// test.kt:7 box
|
||||
@@ -34,3 +34,18 @@ fun fail() : String {
|
||||
// test.kt:3 execute
|
||||
// test.kt:9 box
|
||||
// test.kt:11 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:18 fail
|
||||
// test.kt:18 fail
|
||||
// test.kt:6 box
|
||||
// test.kt:3 execute
|
||||
// test.kt:3 execute
|
||||
// test.kt:9 box
|
||||
// test.kt:18 fail
|
||||
// test.kt:18 fail
|
||||
// test.kt:14 box
|
||||
// test.kt:9 box
|
||||
// test.kt:3 execute
|
||||
// test.kt:3 execute
|
||||
|
||||
@@ -20,7 +20,7 @@ fun fail() : String {
|
||||
return "fail"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:16 box
|
||||
// test.kt:5 box
|
||||
@@ -36,3 +36,16 @@ fun fail() : String {
|
||||
// test.kt:7 box
|
||||
// test.kt:16 box
|
||||
// test.kt:9 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:20 fail
|
||||
// test.kt:20 fail
|
||||
// test.kt:16 box
|
||||
// test.kt:7 box
|
||||
// test.kt:20 fail
|
||||
// test.kt:20 fail
|
||||
// test.kt:16 box
|
||||
// test.kt:8 box
|
||||
// test.kt:16 box
|
||||
|
||||
@@ -21,7 +21,7 @@ fun fail() : String {
|
||||
// arguments as being on line 5 and 8. That seems incorrect
|
||||
// and the JVM_IR stepping is more correct.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:12 box
|
||||
// test.kt:4 box
|
||||
@@ -35,3 +35,13 @@ fun fail() : String {
|
||||
// test.kt:12 box
|
||||
// test.kt:7 box
|
||||
// test.kt:9 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:16 fail
|
||||
// test.kt:16 fail
|
||||
// test.kt:7 box
|
||||
// test.kt:16 fail
|
||||
// test.kt:16 fail
|
||||
// test.kt:12 box
|
||||
// test.kt:7 box
|
||||
|
||||
+35
-9
@@ -41,7 +41,7 @@ fun box() {
|
||||
// does not. So on JVM there are steps on each condition evaluation for
|
||||
// the first `when`.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:29 box
|
||||
// test.kt:4 stringSwitch
|
||||
// test.kt:5 stringSwitch
|
||||
@@ -52,7 +52,7 @@ fun box() {
|
||||
// test.kt:19 stringSwitch
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:18 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:21 stringSwitch
|
||||
// test.kt:18 stringSwitch
|
||||
// test.kt:26 stringSwitch
|
||||
@@ -60,7 +60,7 @@ fun box() {
|
||||
// test.kt:4 stringSwitch
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 stringSwitch
|
||||
// test.kt:4 stringSwitch
|
||||
// test.kt:11 stringSwitch
|
||||
@@ -69,7 +69,7 @@ fun box() {
|
||||
// test.kt:19 stringSwitch
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:18 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:22 stringSwitch
|
||||
// test.kt:18 stringSwitch
|
||||
// test.kt:26 stringSwitch
|
||||
@@ -78,7 +78,7 @@ fun box() {
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 stringSwitch
|
||||
// test.kt:6 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 stringSwitch
|
||||
// test.kt:4 stringSwitch
|
||||
// test.kt:11 stringSwitch
|
||||
@@ -87,7 +87,7 @@ fun box() {
|
||||
// test.kt:19 stringSwitch
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:18 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:23 stringSwitch
|
||||
// test.kt:18 stringSwitch
|
||||
// test.kt:26 stringSwitch
|
||||
@@ -97,7 +97,7 @@ fun box() {
|
||||
// test.kt:5 stringSwitch
|
||||
// test.kt:6 stringSwitch
|
||||
// test.kt:7 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 stringSwitch
|
||||
// test.kt:4 stringSwitch
|
||||
// test.kt:11 stringSwitch
|
||||
@@ -106,8 +106,34 @@ fun box() {
|
||||
// test.kt:19 stringSwitch
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:18 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:24 stringSwitch
|
||||
// test.kt:18 stringSwitch
|
||||
// test.kt:26 stringSwitch
|
||||
// test.kt:33 box
|
||||
// test.kt:33 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:29 box
|
||||
// test.kt:5 stringSwitch
|
||||
// test.kt:11 stringSwitch
|
||||
// test.kt:12 stringSwitch
|
||||
// test.kt:19 stringSwitch
|
||||
// test.kt:21 stringSwitch
|
||||
// test.kt:30 box
|
||||
// test.kt:6 stringSwitch
|
||||
// test.kt:11 stringSwitch
|
||||
// test.kt:13 stringSwitch
|
||||
// test.kt:19 stringSwitch
|
||||
// test.kt:22 stringSwitch
|
||||
// test.kt:31 box
|
||||
// test.kt:7 stringSwitch
|
||||
// test.kt:11 stringSwitch
|
||||
// test.kt:14 stringSwitch
|
||||
// test.kt:19 stringSwitch
|
||||
// test.kt:23 stringSwitch
|
||||
// test.kt:32 box
|
||||
// test.kt:8 stringSwitch
|
||||
// test.kt:11 stringSwitch
|
||||
// test.kt:15 stringSwitch
|
||||
// test.kt:19 stringSwitch
|
||||
// test.kt:24 stringSwitch
|
||||
|
||||
+27
-7
@@ -37,7 +37,7 @@ fun box() {
|
||||
// does not. So on JVM there are direct jumps to the right branch for the
|
||||
// last two whens.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:26 box
|
||||
// test.kt:4 stringSwitch
|
||||
// test.kt:5 stringSwitch
|
||||
@@ -48,7 +48,7 @@ fun box() {
|
||||
// test.kt:17 stringSwitch
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:16 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:19 stringSwitch
|
||||
// test.kt:16 stringSwitch
|
||||
// test.kt:23 stringSwitch
|
||||
@@ -60,14 +60,14 @@ fun box() {
|
||||
// test.kt:10 stringSwitch
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:11 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:12 stringSwitch
|
||||
// test.kt:10 stringSwitch
|
||||
// test.kt:17 stringSwitch
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:16 stringSwitch
|
||||
// test.kt:19 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:20 stringSwitch
|
||||
// test.kt:16 stringSwitch
|
||||
// test.kt:23 stringSwitch
|
||||
@@ -81,7 +81,7 @@ fun box() {
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:11 stringSwitch
|
||||
// test.kt:12 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 stringSwitch
|
||||
// test.kt:10 stringSwitch
|
||||
// test.kt:17 stringSwitch
|
||||
@@ -89,8 +89,28 @@ fun box() {
|
||||
// test.kt:16 stringSwitch
|
||||
// test.kt:19 stringSwitch
|
||||
// test.kt:20 stringSwitch
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:21 stringSwitch
|
||||
// test.kt:16 stringSwitch
|
||||
// test.kt:23 stringSwitch
|
||||
// test.kt:29 box
|
||||
// test.kt:29 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:26 box
|
||||
// test.kt:5 stringSwitch
|
||||
// test.kt:10 stringSwitch
|
||||
// test.kt:11 stringSwitch
|
||||
// test.kt:17 stringSwitch
|
||||
// test.kt:19 stringSwitch
|
||||
// test.kt:27 box
|
||||
// test.kt:6 stringSwitch
|
||||
// test.kt:10 stringSwitch
|
||||
// test.kt:12 stringSwitch
|
||||
// test.kt:17 stringSwitch
|
||||
// test.kt:20 stringSwitch
|
||||
// test.kt:28 box
|
||||
// test.kt:7 stringSwitch
|
||||
// test.kt:10 stringSwitch
|
||||
// test.kt:13 stringSwitch
|
||||
// test.kt:17 stringSwitch
|
||||
// test.kt:21 stringSwitch
|
||||
|
||||
@@ -10,10 +10,19 @@ suspend fun box() {
|
||||
}
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:9 invoke
|
||||
// test.kt:4 foo
|
||||
// test.kt:8 box
|
||||
// test.kt:11 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:8 $boxCOROUTINE$0.doResume_5yljmg_k$
|
||||
// test.kt:4 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:9 box$lambda
|
||||
// test.kt:9 box$lambda
|
||||
// test.kt:4 foo
|
||||
// test.kt:7 box
|
||||
|
||||
@@ -16,8 +16,10 @@ suspend fun box() {
|
||||
// That means that we never step into the lambda as that is only
|
||||
// called via code in the kotlin package.
|
||||
|
||||
// EXPECTATIONS
|
||||
// test.kt:8 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:8 box
|
||||
// test.kt:11 box
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:9 box
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+13
-3
@@ -4,7 +4,7 @@ fun box() {
|
||||
val b = 2
|
||||
try {
|
||||
throwIfLess(a, b)
|
||||
} catch (e: java.lang.Exception) {
|
||||
} catch (e: Exception) {
|
||||
throwIfLess(a, b)
|
||||
}
|
||||
throwIfLess(b,a)
|
||||
@@ -12,9 +12,9 @@ fun box() {
|
||||
|
||||
fun throwIfLess(a: Int, b: Int) {
|
||||
if (a<b)
|
||||
throw java.lang.IllegalStateException()
|
||||
throw IllegalStateException()
|
||||
}
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
@@ -25,3 +25,13 @@ fun throwIfLess(a: Int, b: Int) {
|
||||
// test.kt:8 box
|
||||
// test.kt:14 throwIfLess
|
||||
// test.kt:15 throwIfLess
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:4 box
|
||||
// test.kt:6 box
|
||||
// test.kt:14 throwIfLess
|
||||
// test.kt:15 throwIfLess
|
||||
// test.kt:8 box
|
||||
// test.kt:14 throwIfLess
|
||||
// test.kt:15 throwIfLess
|
||||
|
||||
+6
-1
@@ -8,8 +8,13 @@ fun box() {
|
||||
foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:3 foo
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:8 box
|
||||
// test.kt:3 foo
|
||||
// test.kt:3 foo
|
||||
|
||||
+16
-2
@@ -19,7 +19,7 @@ fun box() {
|
||||
// interfaces with default methods (forwarding to the actual implementation
|
||||
// on A$DefaultImpls) have the line number of the class declaration.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:14 box
|
||||
// test.kt:14 <init>
|
||||
// test.kt:14 box
|
||||
@@ -42,4 +42,18 @@ fun box() {
|
||||
// test.kt:7 bar
|
||||
// test.kt:11 bar
|
||||
// test.kt:15 box
|
||||
// test.kt:16 box
|
||||
// test.kt:16 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:14 box
|
||||
// test.kt:14 box
|
||||
// test.kt:7 bar
|
||||
// test.kt:4 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:7 bar
|
||||
// test.kt:15 box
|
||||
// test.kt:15 box
|
||||
// test.kt:7 bar
|
||||
// test.kt:4 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:7 bar
|
||||
|
||||
+8
-1
@@ -14,7 +14,7 @@ fun box() {
|
||||
foo(true)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
@@ -28,3 +28,10 @@ fun box() {
|
||||
// test.kt:9 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:15 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:13 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:14 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:5 foo
|
||||
|
||||
+43
-2
@@ -47,7 +47,7 @@ fun box() {
|
||||
foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:41 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
@@ -104,4 +104,45 @@ fun box() {
|
||||
// test.kt:28 mightThrow
|
||||
// test.kt:6 foo
|
||||
// test.kt:7 foo
|
||||
// test.kt:48 box
|
||||
// test.kt:48 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:41 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:28 mightThrow
|
||||
// test.kt:11 foo
|
||||
// test.kt:32 mightThrow2
|
||||
// test.kt:10 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:36 mightThrow3
|
||||
// test.kt:37 mightThrow3
|
||||
// test.kt:37 mightThrow3
|
||||
// test.kt:16 foo
|
||||
// test.kt:42 box
|
||||
// test.kt:43 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:28 mightThrow
|
||||
// test.kt:11 foo
|
||||
// test.kt:32 mightThrow2
|
||||
// test.kt:10 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:36 mightThrow3
|
||||
// test.kt:36 mightThrow3
|
||||
// test.kt:19 foo
|
||||
// test.kt:19 foo
|
||||
// test.kt:44 box
|
||||
// test.kt:45 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:28 mightThrow
|
||||
// test.kt:11 foo
|
||||
// test.kt:32 mightThrow2
|
||||
// test.kt:32 mightThrow2
|
||||
// test.kt:13 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:46 box
|
||||
// test.kt:47 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:28 mightThrow
|
||||
// test.kt:28 mightThrow
|
||||
// test.kt:7 foo
|
||||
// test.kt:7 foo
|
||||
|
||||
+46
-44
@@ -38,56 +38,58 @@ fun box() {
|
||||
foo()
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// test.kt:33 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:25 mightThrow
|
||||
// test.kt:26 mightThrow
|
||||
// test.kt:9 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:29 mightThrow2
|
||||
// test.kt:30 mightThrow2
|
||||
// test.kt:13 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:18 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:19 foo
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:34 box
|
||||
// test.kt:35 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:25 mightThrow
|
||||
// test.kt:26 mightThrow
|
||||
// test.kt:9 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:29 mightThrow2
|
||||
// test.kt:14 foo
|
||||
// test.kt:15 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:18 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:19 foo
|
||||
// test.kt:36 box
|
||||
// test.kt:37 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:25 mightThrow
|
||||
// test.kt:6 foo
|
||||
// test.kt:7 foo
|
||||
// test.kt:9 foo
|
||||
// test.kt:26 mightThrow
|
||||
// test.kt:27 mightThrow
|
||||
// test.kt:10 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:29 mightThrow2
|
||||
// test.kt:14 foo
|
||||
// test.kt:15 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:30 mightThrow2
|
||||
// test.kt:31 mightThrow2
|
||||
// test.kt:14 foo
|
||||
// test.kt:18 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:19 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:20 foo
|
||||
// test.kt:35 box
|
||||
// test.kt:36 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:6 foo
|
||||
// test.kt:26 mightThrow
|
||||
// test.kt:27 mightThrow
|
||||
// test.kt:10 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:14 foo
|
||||
// test.kt:30 mightThrow2
|
||||
// test.kt:15 foo
|
||||
// test.kt:16 foo
|
||||
// test.kt:18 foo
|
||||
// test.kt:19 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:20 foo
|
||||
// test.kt:37 box
|
||||
// test.kt:38 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:6 foo
|
||||
// test.kt:26 mightThrow
|
||||
// test.kt:7 foo
|
||||
// test.kt:8 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:14 foo
|
||||
// test.kt:30 mightThrow2
|
||||
// test.kt:15 foo
|
||||
// test.kt:16 foo
|
||||
// test.kt:18 foo
|
||||
// test.kt:19 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:20 foo
|
||||
// test.kt:39 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
|
||||
+17
-2
@@ -39,7 +39,7 @@ fun box() {
|
||||
// JVM_IR behavior is consistent with what happens for the
|
||||
// try-finally where the value is discarded which seems good.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:29 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
@@ -53,7 +53,7 @@ fun box() {
|
||||
// test.kt:26 mightThrow2
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:11 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 foo
|
||||
// test.kt:14 foo
|
||||
// test.kt:10 foo
|
||||
@@ -74,3 +74,18 @@ fun box() {
|
||||
// test.kt:10 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:13 foo
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:29 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:21 mightThrow
|
||||
// test.kt:11 foo
|
||||
// test.kt:25 mightThrow2
|
||||
// test.kt:10 foo
|
||||
// test.kt:30 box
|
||||
// test.kt:31 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:21 mightThrow
|
||||
// test.kt:11 foo
|
||||
// test.kt:25 mightThrow2
|
||||
// test.kt:25 mightThrow2
|
||||
|
||||
@@ -16,14 +16,19 @@ fun box() {
|
||||
// those does not seem useful. This is consistent with javac behavior
|
||||
// as well. The JVM backend does generate these line numbers.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 box
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:7 box
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
// test.kt:10 box
|
||||
// test.kt:12 box
|
||||
@@ -8,7 +8,7 @@ fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// fake.kt:1 box
|
||||
// test.kt:4 box
|
||||
@@ -16,3 +16,9 @@ fun box(): String {
|
||||
// test.kt:6 box
|
||||
// test.kt:5 box
|
||||
// test.kt:8 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:6 box
|
||||
// test.kt:8 box
|
||||
// test.kt:8 box
|
||||
|
||||
+34
-14
@@ -23,26 +23,26 @@ fun box() {
|
||||
// of each of the conditions, but goes directly to the right body. The
|
||||
// JVM_IR stepping behavior here is the same as for `whenSubject.kt`.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:18 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 foo
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// test.kt:6 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 foo
|
||||
// test.kt:10 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:11 foo
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:15 foo
|
||||
@@ -50,19 +50,19 @@ fun box() {
|
||||
// test.kt:10 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:11 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:12 foo
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// test.kt:6 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 foo
|
||||
// test.kt:10 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:11 foo
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:15 foo
|
||||
@@ -75,19 +75,19 @@ fun box() {
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 foo
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// test.kt:6 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 foo
|
||||
// test.kt:10 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:11 foo
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:15 foo
|
||||
@@ -95,19 +95,19 @@ fun box() {
|
||||
// test.kt:10 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:11 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:12 foo
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// test.kt:6 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 foo
|
||||
// test.kt:10 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:11 foo
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:15 foo
|
||||
@@ -117,4 +117,24 @@ fun box() {
|
||||
// test.kt:11 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:15 foo
|
||||
// test.kt:19 box
|
||||
// test.kt:19 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:18 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:6 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:6 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
|
||||
+17
-4
@@ -21,7 +21,7 @@ fun box() {
|
||||
// The JVM_IR backend optimizes the inner when to a switch and therefore goes directly to the
|
||||
// right case without stepping through evaluation of each condition.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:16 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:6 foo
|
||||
@@ -32,7 +32,7 @@ fun box() {
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:6 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:13 foo
|
||||
@@ -41,9 +41,22 @@ fun box() {
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:6 foo
|
||||
// test.kt:7 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:19 box
|
||||
// test.kt:19 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:16 box
|
||||
// test.kt:6 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:17 box
|
||||
// test.kt:7 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:18 box
|
||||
// test.kt:8 foo
|
||||
// test.kt:10 foo
|
||||
|
||||
+6
-3
@@ -13,11 +13,14 @@ fun box() {
|
||||
|
||||
// JVM_IR and JVM backends have different heuristics for when to use a switch.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:7 box
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:10 box
|
||||
// test.kt:12 box
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
|
||||
+13
-2
@@ -17,7 +17,7 @@ fun box() {
|
||||
foo(1)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:15 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
@@ -35,4 +35,15 @@ fun box() {
|
||||
// test.kt:7 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:18 box
|
||||
// test.kt:18 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:15 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:16 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:17 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
|
||||
+22
-8
@@ -33,17 +33,17 @@ fun box() {
|
||||
// of each of the conditions, but goes directly to the right body.
|
||||
// JVM_IR stepping behavior here is the same as for `whenMultiLineSubject.kt`.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:26 box
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 foo
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:14 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:15 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:22 foo
|
||||
@@ -53,13 +53,13 @@ fun box() {
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// test.kt:7 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 foo
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:14 foo
|
||||
// test.kt:16 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:17 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:22 foo
|
||||
@@ -69,15 +69,29 @@ fun box() {
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:5 foo
|
||||
// test.kt:7 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:10 foo
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM
|
||||
// test.kt:14 foo
|
||||
// test.kt:16 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:19 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:28 box
|
||||
// test.kt:29 box
|
||||
// test.kt:29 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:26 box
|
||||
// test.kt:15 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:27 box
|
||||
// test.kt:17 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:28 box
|
||||
// test.kt:19 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:22 foo
|
||||
|
||||
+22
-2
@@ -28,7 +28,7 @@ fun box() {
|
||||
foo(63)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:26 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:6 foo
|
||||
@@ -53,4 +53,24 @@ fun box() {
|
||||
// test.kt:13 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:28 box
|
||||
// test.kt:29 box
|
||||
// test.kt:29 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:26 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:15 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:27 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:28 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:19 foo
|
||||
// test.kt:22 foo
|
||||
// test.kt:22 foo
|
||||
|
||||
+6
-2
@@ -15,10 +15,14 @@ fun box() {
|
||||
}
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
// test.kt:9 box
|
||||
// test.kt:13 box
|
||||
// test.kt:16 box
|
||||
// test.kt:16 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
|
||||
+36
-2
@@ -18,7 +18,7 @@ fun box() {
|
||||
foo(21)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:18 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
@@ -68,4 +68,38 @@ fun box() {
|
||||
// test.kt:11 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:15 foo
|
||||
// test.kt:19 box
|
||||
// test.kt:19 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:18 box
|
||||
// test.kt:4 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:6 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:11 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:6 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:4 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
// test.kt:10 foo
|
||||
|
||||
+49
-15
@@ -26,27 +26,27 @@ fun box() {
|
||||
// it stops on the subject line first, then on the when line (line 4 and 12), and
|
||||
// then goes to the right branch.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:22 box
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 foo
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 foo
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 foo
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:17 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:19 foo
|
||||
@@ -54,17 +54,17 @@ fun box() {
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:16 foo
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 foo
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:17 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:19 foo
|
||||
@@ -75,22 +75,22 @@ fun box() {
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:15 foo
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:8 foo
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 foo
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:17 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:19 foo
|
||||
@@ -98,17 +98,17 @@ fun box() {
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:16 foo
|
||||
// test.kt:5 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:4 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:9 foo
|
||||
// test.kt:13 foo
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:12 foo
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:17 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:19 foo
|
||||
@@ -119,3 +119,37 @@ fun box() {
|
||||
// test.kt:12 foo
|
||||
// test.kt:19 foo
|
||||
// test.kt:23 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:22 box
|
||||
// test.kt:5 foo
|
||||
// test.kt:7 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:8 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:16 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:15 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:8 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:16 foo
|
||||
// test.kt:5 foo
|
||||
// test.kt:13 foo
|
||||
// test.kt:17 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:12 foo
|
||||
// test.kt:12 foo
|
||||
|
||||
@@ -29,7 +29,7 @@ fun nop() {}
|
||||
|
||||
// JVM_IR generates an additional line number for the end of the condition, which is necessary for the correct "step over" behavior.
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:19 value
|
||||
// test.kt:3 box
|
||||
@@ -38,12 +38,12 @@ fun nop() {}
|
||||
// test.kt:20 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:5 box
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:6 box
|
||||
// test.kt:21 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:6 box
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:7 box
|
||||
// test.kt:22 box
|
||||
// test.kt:7 box
|
||||
@@ -60,7 +60,7 @@ fun nop() {}
|
||||
// test.kt:26 box
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:13 box
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:14 box
|
||||
// test.kt:21 box
|
||||
// test.kt:14 box
|
||||
@@ -69,3 +69,29 @@ fun nop() {}
|
||||
// test.kt:28 nop
|
||||
// test.kt:14 box
|
||||
// test.kt:17 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:3 box
|
||||
// test.kt:19 value
|
||||
// test.kt:19 value
|
||||
// test.kt:4 box
|
||||
// test.kt:20 box
|
||||
// test.kt:5 box
|
||||
// test.kt:21 box
|
||||
// test.kt:6 box
|
||||
// test.kt:22 box
|
||||
// test.kt:7 box
|
||||
// test.kt:7 box
|
||||
// test.kt:20 box
|
||||
// test.kt:12 box
|
||||
// test.kt:21 box
|
||||
// test.kt:12 box
|
||||
// test.kt:20 box
|
||||
// test.kt:13 box
|
||||
// test.kt:26 box
|
||||
// test.kt:13 box
|
||||
// test.kt:21 box
|
||||
// test.kt:14 box
|
||||
// test.kt:25 box
|
||||
// test.kt:14 box
|
||||
// test.kt:14 box
|
||||
|
||||
+13
-1
@@ -12,7 +12,7 @@ fun box() {
|
||||
} while (--x > 0)
|
||||
}
|
||||
|
||||
// EXPECTATIONS
|
||||
// EXPECTATIONS JVM JVM_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:6 box
|
||||
@@ -23,3 +23,15 @@ fun box() {
|
||||
// test.kt:11 box
|
||||
// test.kt:12 box
|
||||
// test.kt:13 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:4 box
|
||||
// test.kt:5 box
|
||||
// test.kt:5 box
|
||||
// test.kt:5 box
|
||||
// test.kt:5 box
|
||||
// test.kt:9 box
|
||||
// test.kt:12 box
|
||||
// test.kt:12 box
|
||||
// test.kt:12 box
|
||||
// test.kt:12 box
|
||||
|
||||
Reference in New Issue
Block a user