[JVM] Port remaining line number tests to stepping infrastructure.

These line number tests only tested that a set of line numbers where
present in the java bytecode. Not that they would be hit in the
right order by the debugger. Moving them to stepping tests fixes that.

This exposes a couple of issues (in particular around try-catch-finally)
that should be fixed.

A number of tests are marked as failing now. Will investigate and
work on fixes next.
This commit is contained in:
Mads Ager
2020-05-26 14:33:36 +02:00
committed by max-kammerer
parent 5db6a0b563
commit 7d7b9262e7
60 changed files with 1462 additions and 1039 deletions
+12
View File
@@ -0,0 +1,12 @@
// FILE: test.kt
fun box(): String {
42!!
42.toLong()!!
return "OK"!!
}
// LINENUMBERS
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box