Files
kotlin/compiler/testData/codegen/bytecodeText/lazyCodegen/inlineConstInsideComparison.kt
Mikhail Zarechenskiy 0134b8819b Optimize const vals by inlining them at use sites
#KT-11734 Fixed
 #KT-13570 Fixed
2016-12-05 22:11:33 +03:00

9 lines
108 B
Kotlin
Vendored

const val one = 1
const val two = 2
fun test1() {
if (!(one < two)) {
val p = 1
}
}
// 0 IF