[JVM] Port Stepping and LocalVariable tests to new test infra.

This is in preparation for enabling the tests for FIR which will
be easier to do when the tests are on the new infrastructure.
This commit is contained in:
Mads Ager
2021-10-14 12:45:38 +02:00
committed by TeamCityServer
parent f1c1094393
commit e9c9d5731e
155 changed files with 1468 additions and 1523 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ fun box() {
false
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:5 box
// test.kt:2 cond
// test.kt:5 box
+2 -2
View File
@@ -8,10 +8,10 @@ fun box() {
}
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 box
// test.kt:3 eval
// test.kt:7 invoke
// test.kt:3 eval
// test.kt:6 box
// test.kt:9 box
// test.kt:9 box
@@ -6,12 +6,12 @@ fun box() {
}()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 invoke
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:5 box$lambda-0
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:7 box
+1 -1
View File
@@ -29,7 +29,7 @@ fun box(): String {
return "OK"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:24 box
// test.kt:15 box
// test.kt:16 box
+1 -1
View File
@@ -19,7 +19,7 @@ fun box() {
foo()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:19 box
// test.kt:11 foo
// test.kt:12 foo
@@ -13,7 +13,7 @@ fun box() {
)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:3 <init>
// test.kt:8 box
+1 -1
View File
@@ -14,7 +14,7 @@ fun box() {
.bar()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:9 box
// test.kt:3 <init>
// test.kt:9 box
+1 -1
View File
@@ -10,7 +10,7 @@ fun f(block: () -> Unit) {
block()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:4 box
// test.kt:10 f
+1 -1
View File
@@ -14,7 +14,7 @@ fun box() {
.bar()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:9 box
// test.kt:3 <init>
// test.kt:9 box
+3 -3
View File
@@ -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.
// LINENUMBERS
// EXPECTATIONS
// test.kt:12 box
// test.kt:3 <init>
// test.kt:4 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:3 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:12 box
// test.kt:13 box
// test.kt:4 getProp
+1 -1
View File
@@ -16,7 +16,7 @@ fun box() {
A.foo()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:14 box
// test.kt:5 <clinit>
// test.kt:6 <clinit>
+1 -1
View File
@@ -5,7 +5,7 @@ fun box() {
42
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:5 box
// test.kt:4 box
// test.kt:6 box
+1 -1
View File
@@ -18,7 +18,7 @@ fun getC() = false
fun getD() = true
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:13 getA
// test.kt:3 box
+3 -3
View File
@@ -14,11 +14,11 @@ fun test(): Long {
return 1
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:5 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:9 test
// LINENUMBERS
// EXPECTATIONS
// test.kt:10 test
// test.kt:11 test
// test.kt:5 box
+1 -1
View File
@@ -13,7 +13,7 @@ fun box() {
4)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 box
// test.kt:3 <init>
// test.kt:6 box
+31 -31
View File
@@ -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.
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:19 <init>
// test.kt:4 box
@@ -98,78 +98,78 @@ class O<T>(i: T) {
// test.kt:25 <init>
// test.kt:7 box
// test.kt:8 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:28 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:29 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:30 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:9 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:33 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:34 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:35 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:9 box
// test.kt:10 box
// test.kt:37 <init>
// test.kt:38 <init>
// test.kt:39 <init>
// test.kt:40 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:37 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:10 box
// test.kt:11 box
// test.kt:42 <init>
// test.kt:43 <init>
// test.kt:44 <init>
// test.kt:45 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:42 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:11 box
// test.kt:12 box
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:49 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:48 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:52 <init>
// test.kt:53 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:54 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:49 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:50 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:12 box
// test.kt:13 box
// test.kt:57 <init>
// test.kt:61 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:62 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:58 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:59 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 box
// test.kt:14 box
// test.kt:65 <init>
// test.kt:69 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:70 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:66 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:67 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:14 box
// test.kt:15 box
// test.kt:72 <init>
@@ -177,10 +177,10 @@ class O<T>(i: T) {
// test.kt:16 box
// test.kt:73 <init>
// test.kt:72 <init>
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:73 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:74 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:16 box
// test.kt:17 box
+1 -1
View File
@@ -24,7 +24,7 @@ fun box() {
e.copy()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 box
// test.kt:3 <init>
// test.kt:13 box
+1 -1
View File
@@ -12,7 +12,7 @@ fun box() {
}
// FORCE_STEP_INTO
// LINENUMBERS
// EXPECTATIONS
// test.kt:11 box
// test.kt:3 <init>
// test.kt:11 box
+5 -5
View File
@@ -34,20 +34,20 @@ fun box() {
// for the evaluation of the arguments constructor and for the constructor call,
// but not for the allocation of the object.
// LINENUMBERS
// EXPECTATIONS
// test.kt:22 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 <clinit>
// test.kt:5 <clinit>
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 foo
// test.kt:9 foo
// test.kt:22 box
// test.kt:23 box
// test.kt:15 <clinit>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:16 <clinit>
// LINENUMBERS
// EXPECTATIONS
// test.kt:17 <clinit>
// test.kt:16 <clinit>
// test.kt:24 box
+1 -1
View File
@@ -7,7 +7,7 @@ fun box() {
inline fun foo(n: Int) {}
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:4 box
// test.kt:8 box
@@ -12,7 +12,7 @@ inline fun bar(i: Int = 1) {
}
// FORCE_STEP_INTO
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:8 foo$default (synthetic)
// test.kt:9 foo
@@ -15,7 +15,7 @@ inline fun foo(f: () -> Unit) {
f()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:14 box
// test.kt:15 box
@@ -14,7 +14,7 @@ fun foo(f: () -> Unit) {
f()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:14 foo
// test.kt:5 invoke
+9 -9
View File
@@ -7,7 +7,7 @@ fun foo(x: Int): Int {
return bar(x) // 7
}
//FILE: test.kt
// FILE: test.kt
import foo
fun box() {
foo(-3) //4
@@ -20,16 +20,16 @@ fun bar(x: Int) =
foo(x)
}
// LINENUMBERS
// test.kt:4 box
// EXPECTATIONS
// test.kt:13 box
// foo.kt:4 foo
// foo.kt:7 foo
// test.kt:8 bar
// test.kt:9 bar
// test.kt:17 bar
// test.kt:18 bar
// foo.kt:4 foo
// foo.kt:5 foo
// test.kt:9 bar
// test.kt:12 bar
// test.kt:18 bar
// test.kt:21 bar
// foo.kt:7 foo
// test.kt:4 box
// test.kt:5 box
// test.kt:13 box
// test.kt:14 box
+1 -1
View File
@@ -13,7 +13,7 @@ inline fun getB(): Int {
return 1
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:13 box
// test.kt:5 box
+1 -1
View File
@@ -21,7 +21,7 @@ fun box() {
foo(0)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:20 box
// test.kt:4 foo
// test.kt:5 foo
+1 -1
View File
@@ -14,7 +14,7 @@ fun box() {
foo()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:12 box
// test.kt:4 foo
// test.kt:5 foo
+1 -1
View File
@@ -22,7 +22,7 @@ fun box() {
foo()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:20 box
// test.kt:4 foo
// test.kt:5 foo
+1 -1
View File
@@ -17,7 +17,7 @@ fun box() {
foo()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:15 box
// test.kt:8 foo
// test.kt:5 cond
@@ -29,7 +29,7 @@ inline fun Boolean.rid(): Boolean = this
fun nop() {}
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:24 box
// test.kt:3 box
+10 -10
View File
@@ -1,4 +1,5 @@
//FILE: test.kt
// IGNORE_BACKEND: JVM
// FILE: test.kt
fun box() {
var i = 0
++i
@@ -16,7 +17,6 @@ fun box() {
1
}
// IGNORE_BACKEND: JVM
// The current backend has strange stepping behavior for assignments.
// It generates the line number for the assignment first, and then
// the evaluation of the right hand side with line numbers.
@@ -26,22 +26,22 @@ fun box() {
// the line number for the actual assignment makes more sense as
// that is the actual evaluation order.
// LINENUMBERS
// test.kt:3 box
// EXPECTATIONS
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// test.kt:6 box
// test.kt:8 box
// test.kt:7 box
// test.kt:9 box
// test.kt:10 box
// test.kt:9 box
// test.kt:11 box
// test.kt:13 box
// test.kt:10 box
// test.kt:12 box
// test.kt:15 box
// test.kt:14 box
// test.kt:13 box
// test.kt:16 box
// test.kt:17 box
// test.kt:16 box
// test.kt:15 box
// test.kt:14 box
// test.kt:17 box
// test.kt:18 box
@@ -18,7 +18,7 @@ inline fun baz() {
fun nop() {}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:11 box
// test.kt:19 nop
+9 -9
View File
@@ -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.
// LINENUMBERS
// EXPECTATIONS
// test.kt:48 box
// test.kt:3 <init>
// test.kt:6 <init>
@@ -62,9 +62,9 @@ fun box() {
// test.kt:45 x
// test.kt:7 <init>
// test.kt:8 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:3 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:48 box
// test.kt:49 box
// test.kt:11 <init>
@@ -74,9 +74,9 @@ fun box() {
// test.kt:16 <init>
// test.kt:17 <init>
// test.kt:18 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:11 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:49 box
// test.kt:50 box
// test.kt:21 <init>
@@ -89,9 +89,9 @@ fun box() {
// test.kt:28 <init>
// test.kt:29 <init>
// test.kt:30 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:21 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:50 box
// test.kt:51 box
// test.kt:33 <init>
@@ -101,8 +101,8 @@ fun box() {
// test.kt:39 <init>
// test.kt:40 <init>
// test.kt:42 <init>
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:33 <init>
// LINENUMBERS
// EXPECTATIONS
// test.kt:51 box
// test.kt:52 box
+1 -1
View File
@@ -30,7 +30,7 @@ fun box() {
A.s
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:29 box
// test.kt:7 <clinit>
// test.kt:8 <clinit>
@@ -15,7 +15,7 @@ inline fun f(block: () -> Unit) {
block()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:4 box
// test.kt:15 box
@@ -10,7 +10,7 @@ inline fun f(block: () -> Unit) {
fun g() {}
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:4 box
// test.kt:8 box
+1 -1
View File
@@ -22,7 +22,7 @@ fun box() {
}
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:4 box
// test.kt:9 box
+7 -7
View File
@@ -7,13 +7,13 @@ fun box() {
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
inline fun foo() = {
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test1.kt:3 box
// test1.kt:4 box
// LINENUMBERS JVM_IR
// test1.kt:8 box
// test1.kt:9 box
// EXPECTATIONS JVM_IR
// test.kt:4 box
// test1.kt:4 invoke
// test1.kt:9 invoke
// test.kt:4 box
// LINENUMBERS
// test.kt:5 box
// EXPECTATIONS
// test.kt:5 box
+8 -8
View File
@@ -8,18 +8,18 @@ fun box() {
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
inline fun foo() = {
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test1.kt:3 box
// test1.kt:4 box
// LINENUMBERS JVM_IR
// test1.kt:9 box
// test1.kt:10 box
// EXPECTATIONS JVM_IR
// test.kt:4 box
// test.kt:5 box
// test1.kt:4 invoke
// test1.kt:10 invoke
// test.kt:5 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:6 box
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:6 box
+18 -18
View File
@@ -13,26 +13,26 @@ inline fun foo() = {
fun baz(v:(() -> Unit)) {
v()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test1.kt:3 box
// test1.kt:4 box
// test1.kt:10 box
// test1.kt:11 box
// test.kt:4 box
// test3.kt:3 baz
// LINENUMBERS JVM_IR
// test1.kt:4 invoke
// test3.kt:3 baz
// LINENUMBERS
// test3.kt:4 baz
// test3.kt:14 baz
// EXPECTATIONS JVM_IR
// test1.kt:11 invoke
// test3.kt:14 baz
// EXPECTATIONS
// test3.kt:15 baz
// test.kt:5 box
// test1.kt:3 box
// test1.kt:4 box
// test1.kt:10 box
// test1.kt:11 box
// test.kt:5 box
// test.kt:6 box
// LINENUMBERS JVM_IR
// test3.kt:3 baz
// test1.kt:4 invoke
// LINENUMBERS
// test3.kt:3 baz
// test3.kt:4 baz
// test.kt:7 box
// EXPECTATIONS JVM_IR
// test3.kt:14 baz
// test1.kt:11 invoke
// EXPECTATIONS
// test3.kt:14 baz
// test3.kt:15 baz
// test.kt:7 box
+1 -1
View File
@@ -13,7 +13,7 @@ fun box(): String {
return "OK"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:4 box
// test.kt:8 box
@@ -17,7 +17,7 @@ fun box(): String {
return "OK"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:15 box
// test.kt:3 box
// test.kt:4 box
+1 -1
View File
@@ -23,7 +23,7 @@ fun box() {
test2()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:22 box
// test.kt:12 test1
// test.kt:8 test1
@@ -11,7 +11,7 @@ inline fun lookAtMe(f: (String) -> Unit) {
f(a)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:10 box
// test.kt:11 box
+6 -6
View File
@@ -10,19 +10,19 @@ fun box() {
"OK"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 box
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:9 box
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:6 invoke
// test.kt:7 invoke
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:6 box$bar
// test.kt:7 box$bar
// LINENUMBERS
// EXPECTATIONS
// test.kt:10 box
// test.kt:11 box
@@ -8,18 +8,18 @@ fun box() {
"OK"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 box
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 box
// test.kt:7 box
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 invoke
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:5 box$bar
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 box
// test.kt:8 box
// test.kt:9 box
+3 -3
View File
@@ -11,12 +11,12 @@ fun test(a: Boolean, b: Boolean, c: Boolean): Boolean {
&& c
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:5 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:9 test
// test.kt:10 test
// LINENUMBERS
// EXPECTATIONS
// test.kt:11 test
// test.kt:9 test
// test.kt:5 box
+1 -1
View File
@@ -9,7 +9,7 @@ fun box() {
fun foo(i: Int) {
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:5 box
// test.kt:4 box
// test.kt:10 foo
+1 -1
View File
@@ -8,7 +8,7 @@ fun box() {
infix fun Int.foo(i: Int) {
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:5 box
// test.kt:4 box
+3 -3
View File
@@ -16,13 +16,13 @@ fun g() {}
// for the invoke method bridged to. Therefore, the entry line number for invoke only shows
// up for JVM_IR.
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:4 box
// test.kt:8 f
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 invoke
// LINENUMBERS
// EXPECTATIONS
// test.kt:11 g
// test.kt:4 invoke
// test.kt:8 f
+10 -10
View File
@@ -41,23 +41,23 @@ inline fun html(init: () -> Unit) {
return init(init)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:19 box
// test.kt:7 box
// test.kt:9 box
// 1.kt:18 box
// 1.kt:6 box
// 1.kt:41 box
// 1.kt:29 box
// test.kt:10 box
// 1.kt:14 box
// 1.kt:10 box
// 1.kt:11 box
// 1.kt:37 box
// 1.kt:33 box
// 1.kt:34 box
// test.kt:11 box
// test.kt:12 box
// 1.kt:12 box
// 1.kt:14 box
// 1.kt:35 box
// 1.kt:37 box
// test.kt:13 box
// 1.kt:7 box
// 1.kt:18 box
// 1.kt:30 box
// 1.kt:41 box
// test.kt:15 box
// test.kt:19 box
// test.kt:21 box
@@ -11,7 +11,7 @@ inline fun lookAtMe(f: () -> Int) {
a + f()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:10 box
// test.kt:11 box
+1 -1
View File
@@ -6,7 +6,7 @@ fun box(): String {
return "OK"!!
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
+1 -1
View File
@@ -11,7 +11,7 @@ fun box() {
A().prop
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:11 box
// test.kt:3 <init>
// test.kt:11 box
+1 -1
View File
@@ -8,7 +8,7 @@ fun box() {
main(arrayOf("OK"))
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:4 main
// test.kt:5 main
+1 -1
View File
@@ -11,7 +11,7 @@ fun foo(n :Int ) : Int {
return foo(n-1) * n
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:4 box
// test.kt:8 foo
+1 -1
View File
@@ -9,7 +9,7 @@ fun box(): String {
}
// FORCE_STEP_INTO
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:3 ifoo$default (synthetic)
// test.kt:4 ifoo
@@ -14,7 +14,7 @@ fun box(): String {
}
// FORCE_STEP_INTO
// LINENUMBERS
// EXPECTATIONS
// test.kt:12 box
// test.kt:3 box
// test.kt:4 box
+3 -3
View File
@@ -27,12 +27,12 @@ fun box(): String {
// for the inline function are only used for instructions covered by
// the `$i$f$alsoInline` variable life time.
// LINENUMBERS
// EXPECTATIONS
// test.kt:10 box
// test.kt:5 box
// test.kt:3 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:5 box
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 box
// test.kt:10 box
+1 -1
View File
@@ -10,7 +10,7 @@ fun box() {
}
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:4 box
// test.kt:9 box
+1 -1
View File
@@ -20,7 +20,7 @@ fun fail() : String {
return "fail"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:16 box
// test.kt:5 box
@@ -18,7 +18,7 @@ fun fail() : String {
return "fail"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 box
// test.kt:14 box
// test.kt:7 box
@@ -20,7 +20,7 @@ fun fail() : String {
return "fail"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:16 box
// test.kt:5 box
@@ -1,5 +1,5 @@
// IGNORE_BACKEND: JVM
// FILE: test.kt
fun box(){
test() +
fail()
@@ -16,14 +16,12 @@ fun fail() : String {
return "fail"
}
// IGNORE_BACKEND: JVM
// The JVM backend does not go back to line 4 and 7 for the
// addition. Instead it treats the addition of the evaluated
// arguments as being on line 5 and 8. That seems incorrect
// and the JVM_IR stepping is more correct.
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:12 box
// test.kt:4 box
@@ -36,4 +34,4 @@ fun fail() : String {
// test.kt:8 box
// test.kt:12 box
// test.kt:7 box
// test.kt:9 box
// test.kt:9 box
+15 -15
View File
@@ -41,7 +41,7 @@ fun box() {
// does not. So on JVM there are steps on each condition evaluation for
// the first `when`.
// LINENUMBERS
// EXPECTATIONS
// test.kt:29 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
@@ -50,63 +50,63 @@ fun box() {
// test.kt:12 stringSwitch
// test.kt:11 stringSwitch
// test.kt:19 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:18 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:21 stringSwitch
// test.kt:18 stringSwitch
// test.kt:26 stringSwitch
// test.kt:30 box
// test.kt:4 stringSwitch
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 stringSwitch
// test.kt:4 stringSwitch
// test.kt:11 stringSwitch
// test.kt:13 stringSwitch
// test.kt:11 stringSwitch
// test.kt:19 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:18 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:22 stringSwitch
// test.kt:18 stringSwitch
// test.kt:26 stringSwitch
// test.kt:31 box
// test.kt:4 stringSwitch
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 stringSwitch
// test.kt:6 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 stringSwitch
// test.kt:4 stringSwitch
// test.kt:11 stringSwitch
// test.kt:14 stringSwitch
// test.kt:11 stringSwitch
// test.kt:19 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:18 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:23 stringSwitch
// test.kt:18 stringSwitch
// test.kt:26 stringSwitch
// test.kt:32 box
// test.kt:4 stringSwitch
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 stringSwitch
// test.kt:6 stringSwitch
// test.kt:7 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 stringSwitch
// test.kt:4 stringSwitch
// test.kt:11 stringSwitch
// test.kt:15 stringSwitch
// test.kt:11 stringSwitch
// test.kt:19 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:18 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:24 stringSwitch
// test.kt:18 stringSwitch
// test.kt:26 stringSwitch
+11 -11
View File
@@ -37,7 +37,7 @@ fun box() {
// does not. So on JVM there are direct jumps to the right branch for the
// last two whens.
// LINENUMBERS
// EXPECTATIONS
// test.kt:26 box
// test.kt:4 stringSwitch
// test.kt:5 stringSwitch
@@ -46,9 +46,9 @@ fun box() {
// test.kt:11 stringSwitch
// test.kt:10 stringSwitch
// test.kt:17 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:16 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:19 stringSwitch
// test.kt:16 stringSwitch
// test.kt:23 stringSwitch
@@ -58,16 +58,16 @@ fun box() {
// test.kt:6 stringSwitch
// test.kt:4 stringSwitch
// test.kt:10 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:11 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:12 stringSwitch
// test.kt:10 stringSwitch
// test.kt:17 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:16 stringSwitch
// test.kt:19 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:20 stringSwitch
// test.kt:16 stringSwitch
// test.kt:23 stringSwitch
@@ -78,18 +78,18 @@ fun box() {
// test.kt:7 stringSwitch
// test.kt:4 stringSwitch
// test.kt:10 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:11 stringSwitch
// test.kt:12 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 stringSwitch
// test.kt:10 stringSwitch
// test.kt:17 stringSwitch
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:16 stringSwitch
// test.kt:19 stringSwitch
// test.kt:20 stringSwitch
// LINENUMBERS
// EXPECTATIONS
// test.kt:21 stringSwitch
// test.kt:16 stringSwitch
// test.kt:23 stringSwitch
@@ -1,4 +1,4 @@
// WITH_COROUTINES
// WITH_RUNTIME
// FILE: test.kt
suspend fun foo(block: Long.() -> String): String {
return 1L.block()
@@ -10,7 +10,7 @@ suspend fun box() {
}
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:4 foo
// test.kt:9 invoke
@@ -1,4 +1,4 @@
// WITH_COROUTINES
// WITH_RUNTIME
// FILE: test.kt
suspend fun foo(block: suspend Long.() -> String): String {
return 1L.block()
@@ -10,15 +10,13 @@ suspend fun box() {
}
}
// LINENUMBERS
// This is the actual unfortunate stepping behavior in intellij.
// There is a class exclusion filter for anything in the kotlin package.
// 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:-1 <init>
// test.kt:-1 create
// test.kt:-1 invoke
// test.kt:8 invokeSuspend
// test.kt:9 invokeSuspend
// test.kt:-1 invoke
// test.kt:4 foo
// test.kt:8 box
// test.kt:11 box
// test.kt:11 box
+1 -1
View File
@@ -14,7 +14,7 @@ fun throwIfLess(a: Int, b: Int) {
if (a<b)
throw java.lang.IllegalStateException()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:4 box
// test.kt:5 box
+1 -1
View File
@@ -8,7 +8,7 @@ fun box() {
foo()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 box
// test.kt:3 foo
// test.kt:8 box
+1 -1
View File
@@ -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.
// LINENUMBERS
// EXPECTATIONS
// test.kt:14 box
// test.kt:14 <init>
// test.kt:14 box
+1 -1
View File
@@ -14,7 +14,7 @@ fun box() {
foo(true)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 box
// test.kt:4 foo
// test.kt:5 foo
+1 -1
View File
@@ -47,7 +47,7 @@ fun box() {
foo()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:41 box
// test.kt:4 foo
// test.kt:5 foo
+1 -1
View File
@@ -37,7 +37,7 @@ fun box() {
foo()
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:33 box
// test.kt:4 foo
// test.kt:5 foo
+5 -5
View File
@@ -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.
// LINENUMBERS
// EXPECTATIONS
// test.kt:29 box
// test.kt:4 foo
// test.kt:5 foo
@@ -51,9 +51,9 @@ fun box() {
// test.kt:11 foo
// test.kt:25 mightThrow2
// test.kt:26 mightThrow2
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:11 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 foo
// test.kt:14 foo
// test.kt:10 foo
@@ -69,9 +69,9 @@ fun box() {
// test.kt:10 foo
// test.kt:11 foo
// test.kt:25 mightThrow2
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:14 foo
// test.kt:10 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:12 foo
// test.kt:13 foo
@@ -16,12 +16,12 @@ fun box() {
// those does not seem useful. This is consistent with javac behavior
// as well. The JVM backend does generate these line numbers.
// LINENUMBERS
// LINENUMBERS JVM
// EXPECTATIONS
// EXPECTATIONS JVM
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 box
// test.kt:8 box
// test.kt:9 box
+1 -1
View File
@@ -8,7 +8,7 @@ fun box(): String {
return "OK"
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// fake.kt:1 box
// test.kt:4 box
+25 -25
View File
@@ -23,46 +23,46 @@ 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`.
// LINENUMBERS
// EXPECTATIONS
// test.kt:18 box
// test.kt:4 foo
// test.kt:5 foo
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 foo
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:6 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 foo
// test.kt:10 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:11 foo
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:6 foo
// test.kt:10 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:11 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:12 foo
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:6 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 foo
// test.kt:10 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:11 foo
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
@@ -73,41 +73,41 @@ fun box() {
// test.kt:10 foo
// test.kt:11 foo
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 foo
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:6 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 foo
// test.kt:10 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:11 foo
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
// test.kt:6 foo
// test.kt:10 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:11 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:12 foo
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:6 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 foo
// test.kt:10 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:11 foo
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:13 foo
// test.kt:10 foo
// test.kt:15 foo
+5 -5
View File
@@ -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.
// LINENUMBERS
// EXPECTATIONS
// test.kt:16 box
// test.kt:5 foo
// test.kt:6 foo
@@ -30,18 +30,18 @@ fun box() {
// test.kt:13 foo
// test.kt:17 box
// test.kt:5 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:6 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 foo
// test.kt:4 foo
// test.kt:13 foo
// test.kt:18 box
// test.kt:5 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:6 foo
// test.kt:7 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 foo
// test.kt:4 foo
// test.kt:10 foo
+3 -3
View File
@@ -13,11 +13,11 @@ fun box() {
// JVM_IR and JVM backends have different heuristics for when to use a switch.
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:5 box
// test.kt:7 box
// LINENUMBERS
// EXPECTATIONS
// test.kt:10 box
// test.kt:12 box
+1 -1
View File
@@ -17,7 +17,7 @@ fun box() {
foo(1)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:15 box
// test.kt:4 foo
// test.kt:5 foo
+13 -13
View File
@@ -33,49 +33,49 @@ 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`.
// LINENUMBERS
// EXPECTATIONS
// test.kt:26 box
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 foo
// test.kt:13 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:14 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:15 foo
// test.kt:13 foo
// test.kt:22 foo
// test.kt:26 box
// test.kt:27 box
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:7 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 foo
// test.kt:13 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:14 foo
// test.kt:16 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:17 foo
// test.kt:13 foo
// test.kt:22 foo
// test.kt:27 box
// test.kt:28 box
// test.kt:4 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:5 foo
// test.kt:7 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:10 foo
// test.kt:13 foo
// LINENUMBERS JVM
// EXPECTATIONS JVM
// test.kt:14 foo
// test.kt:16 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:19 foo
// test.kt:13 foo
// test.kt:22 foo
+1 -1
View File
@@ -28,7 +28,7 @@ fun box() {
foo(63)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:26 box
// test.kt:4 foo
// test.kt:6 foo
+1 -1
View File
@@ -15,7 +15,7 @@ fun box() {
}
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
+1 -1
View File
@@ -18,7 +18,7 @@ fun box() {
foo(21)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:18 box
// test.kt:4 foo
// test.kt:5 foo
+29 -29
View File
@@ -26,45 +26,45 @@ 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.
// LINENUMBERS
// EXPECTATIONS
// test.kt:22 box
// test.kt:5 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 foo
// test.kt:5 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 foo
// test.kt:5 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:9 foo
// test.kt:13 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:17 foo
// test.kt:12 foo
// test.kt:19 foo
// test.kt:8 foo
// test.kt:13 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:16 foo
// test.kt:5 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:9 foo
// test.kt:13 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:17 foo
// test.kt:12 foo
// test.kt:19 foo
@@ -73,42 +73,42 @@ fun box() {
// test.kt:19 foo
// test.kt:7 foo
// test.kt:13 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:15 foo
// test.kt:5 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:8 foo
// test.kt:5 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:9 foo
// test.kt:13 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:17 foo
// test.kt:12 foo
// test.kt:19 foo
// test.kt:8 foo
// test.kt:13 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:16 foo
// test.kt:5 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:4 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:9 foo
// test.kt:13 foo
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:12 foo
// LINENUMBERS
// EXPECTATIONS
// test.kt:17 foo
// test.kt:12 foo
// test.kt:19 foo
@@ -29,21 +29,21 @@ fun nop() {}
// JVM_IR generates an additional line number for the end of the condition, which is necessary for the correct "step over" behavior.
// LINENUMBERS
// EXPECTATIONS
// test.kt:3 box
// test.kt:19 value
// test.kt:3 box
// test.kt:4 box
// test.kt:5 box
// test.kt:20 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:5 box
// LINENUMBERS
// EXPECTATIONS
// test.kt:6 box
// test.kt:21 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:6 box
// LINENUMBERS
// EXPECTATIONS
// test.kt:7 box
// test.kt:22 box
// test.kt:7 box
@@ -58,9 +58,9 @@ fun nop() {}
// test.kt:20 box
// test.kt:13 box
// test.kt:26 box
// LINENUMBERS JVM_IR
// EXPECTATIONS JVM_IR
// test.kt:13 box
// LINENUMBERS
// EXPECTATIONS
// test.kt:14 box
// test.kt:21 box
// test.kt:14 box
+1 -1
View File
@@ -12,7 +12,7 @@ fun box() {
} while (--x > 0)
}
// LINENUMBERS
// EXPECTATIONS
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box