[FIR] Fix detecting that if in then branch of outer if used as expression
This commit is contained in:
committed by
TeamCityServer
parent
e6588ee8a4
commit
671ebc6819
+10
@@ -0,0 +1,10 @@
|
||||
fun run(block: () -> Unit) {}
|
||||
|
||||
fun test(b1: Boolean, b2: Boolean) {
|
||||
var result = false
|
||||
run {
|
||||
if (b1)
|
||||
if (b2)
|
||||
result = true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user