Tests: remove LVT tests on old JVM backend

This commit is contained in:
Alexander Udalov
2023-12-07 19:22:00 +01:00
committed by Space Team
parent 5e330acd28
commit 0c77fa1fa4
73 changed files with 150 additions and 900 deletions
+1 -15
View File
@@ -10,21 +10,7 @@ fun box() {
foo()
}
// Local functions are compiled to private static functions on the class
// containing the local funtion. This has a number of consequences observable
// from a debugging perspective, for this test specically:
// - local functions do not figure in the LVT of the outer function, as they
// are not instantiated.
// - the _declaration_ of the local function does not figure in the byte code
// of the outer function and hence, has no line number
// EXPECTATIONS JVM
// test.kt:10 box:
// test.kt:5 foo:
// test.kt:7 foo: $fun$bar$1:TestKt$foo$1=TestKt$foo$1
// test.kt:11 box:
// EXPECTATIONS JVM_IR JS_IR
// EXPECTATIONS
// test.kt:10 box:
// test.kt:7 foo:
// test.kt:11 box: