mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-20 15:52:36 +00:00
Specifically, defer the removal of hand-written "if (true|false)" from JvmBuiltinOptimizationLowering into codegen so that appropriate debug info (and a NOP) can be inserted. Change-Id: Ia11af05ad8b4251946bd3e685fb7c3319f0f433f
9 lines
106 B
Kotlin
Vendored
9 lines
106 B
Kotlin
Vendored
fun foo(): Int {
|
|
if (true) {
|
|
return 1
|
|
} else {
|
|
return 2
|
|
}
|
|
}
|
|
// 1 LINENUMBER 2
|