mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
- Turn some const conditions into non-const conditions - Make sure inlined const values are used where required (otherwise they are eliminated by POP backward propagation)
9 lines
94 B
Kotlin
Vendored
9 lines
94 B
Kotlin
Vendored
val two = 2
|
|
|
|
fun test2() {
|
|
val p = 1 < two
|
|
if (!p) {
|
|
val p = 1
|
|
}
|
|
}
|
|
// 2 IF |