KT-14581 Make FixStackAnalyzer tolerant to uninitialized values
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
fun box(): String {
|
||||
val ok: String? = "OK"
|
||||
var res = ""
|
||||
|
||||
do {
|
||||
res += ok ?: break
|
||||
} while (false)
|
||||
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user