mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 15:53:18 +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.
21 lines
303 B
Kotlin
Vendored
21 lines
303 B
Kotlin
Vendored
package inlineInIfFalseDex
|
|
|
|
fun inlineIfFalse() {
|
|
val bar = ""
|
|
//Breakpoint!
|
|
if (inlineCall { true }) {
|
|
foo()
|
|
}
|
|
foo()
|
|
}
|
|
|
|
fun foo() {}
|
|
|
|
inline fun inlineCall(predicate: (String?) -> Boolean): Boolean {
|
|
return false
|
|
}
|
|
|
|
// 0 LINENUMBER 7
|
|
// 0 LINENUMBER 8
|
|
// 1 LINENUMBER 9
|