Turn off optimizations in case of do-while presence
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@ fun test(cond1: Boolean) {
|
||||
do {
|
||||
if (cond1) continue
|
||||
val cond2 = false
|
||||
} while (cond2) // cond2 may be not defined here
|
||||
} while (<!UNINITIALIZED_VARIABLE!>cond2<!>) // cond2 may be not defined here
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user