mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
- A LINENUMEBER node is "dead" if the corresponding instruction interval contains at least one "dead" bytecode instruction and no live bytecode instructions - Observable local variable lifetimes should be taken into account when determining if a NOP is required for debugger.
18 lines
466 B
Kotlin
Vendored
18 lines
466 B
Kotlin
Vendored
open class A(val z: String) {
|
|
|
|
}
|
|
|
|
inline fun test(crossinline s: () -> String) {
|
|
object : A("123") {
|
|
val x = s();
|
|
}
|
|
}
|
|
|
|
fun main(args: Array<String>) {
|
|
var z = "123";
|
|
test { z }
|
|
}
|
|
|
|
/*Threre are two constuctors so we should be sure that we check LOCALVARIABLEs from same method*/
|
|
// 1 LOCALVARIABLE this LInlinedConstuctorWithSuperCallParamsKt\$main\$\$inlined\$test\$1; L0 L6 0\s+LOCALVARIABLE \$super_call_param\$1 Ljava/lang/String; L0 L6 1
|