Files
kotlin-fork/compiler/testData/codegen/bytecodeText/constantConditions/inlineIfFalse.kt
T
Mikhail Glukhikh ac50433e17 Fix failing bytecode text test
In this commit I moved IGNORE_BACKEND_FIR to the end or deleted it
when it was applicable, to preserve correct line numbers
2020-09-29 19:16:42 +03:00

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