[FIR] Fix data-flow after while loops

This commit is contained in:
simon.ogorodnik
2020-01-31 15:20:19 +03:00
committed by Mikhail Glukhikh
parent 91b432b4a1
commit 645602b675
15 changed files with 34 additions and 19 deletions
@@ -8,7 +8,7 @@ public fun foo(p: String?, r: String?): Int {
} while (r == null)
} while (!x())
// Auto cast NOT possible due to long continue
r.<!INAPPLICABLE_CANDIDATE!>length<!>
r.length
// Auto cast possible
return p.length
}