Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
cae7f90b594750d624e94b3325571f4b5ebff2f0
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
whenUnusedExpression.kt.txt
blob: 8a91677e857348bcf5f5856118b24b849def4967 [
file
] [
log
] [
blame
]
fun test(b: Boolean, i: Int) {
when {
b -> { // BLOCK
{ // BLOCK
val tmp0_subject: Int = i
when {
EQEQ(arg0 = tmp0_subject, arg1 = 0) -> 1 /*~> Unit */
else -> null /*~> Unit */
}
}
}
else -> null /*~> Unit */
}
}