[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
public fun foo(p: String?, y: String?): Int {
|
||||
do {
|
||||
// After the check, smart cast should work
|
||||
if (y == null) {
|
||||
"null".toString()
|
||||
break
|
||||
}
|
||||
y.length
|
||||
p!!.length
|
||||
} while (true)
|
||||
return y?.length ?: -1
|
||||
}
|
||||
Reference in New Issue
Block a user