[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
fun x(): Boolean { return true }
|
||||
|
||||
public fun foo(p: String?, r: String?, q: String?): Int {
|
||||
outer@ while(true) {
|
||||
q!!.length
|
||||
do {
|
||||
if (x()) continue@outer
|
||||
do {
|
||||
p!!.length
|
||||
} while (!x())
|
||||
} while (r == null)
|
||||
if (!x()) break
|
||||
}
|
||||
// Smart cast is possible only for q
|
||||
q.length
|
||||
// But not possible for the others
|
||||
r.<!INAPPLICABLE_CANDIDATE!>length<!>
|
||||
return p.length
|
||||
}
|
||||
Reference in New Issue
Block a user