[FIR] Fix data-flow after while loops
This commit is contained in:
committed by
Mikhail Glukhikh
parent
91b432b4a1
commit
645602b675
+1
-1
@@ -9,7 +9,7 @@ public fun foo(pp: String?, rr: String?): Int {
|
||||
} while (r == null)
|
||||
} while (!x())
|
||||
// Auto cast possible
|
||||
r.<!INAPPLICABLE_CANDIDATE!>length<!>
|
||||
r.length
|
||||
// Auto cast possible
|
||||
return p.length
|
||||
}
|
||||
Reference in New Issue
Block a user