3fa82c7bb1
Some boolean expressions could be transformed into `IrWhen` node. To understand that this node is actually a boolean expression, we need to analyze its origin. #KT-62683
10 lines
328 B
Kotlin
Vendored
10 lines
328 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// TARGET_BACKEND: JS_IR
|
|
// TARGET_BACKEND: NATIVE
|
|
const val BOOL = <!EVALUATED("true")!>true<!>
|
|
const val BOOL_OR = <!EVALUATED("false")!>false && BOOL<!>
|
|
const val BOOL_AND = <!EVALUATED("true")!>true || BOOL<!>
|
|
const val BOOL_AND_OR = <!EVALUATED("true")!>true || false && BOOL<!>
|
|
|
|
fun box() = "OK"
|