Adjust testData to CharSequence.length transformation

This commit is contained in:
Denis Zharkov
2015-10-12 20:29:01 +03:00
committed by Mikhail Glukhikh
parent cb562e7ea5
commit f0e3fd617d
348 changed files with 524 additions and 540 deletions
@@ -2,10 +2,10 @@ public fun foo(x: String?, y: String?): Int {
while (true) {
val z = (if (y == null) break else x) ?: <!DEBUG_INFO_SMARTCAST!>y<!>
// z is not null in both branches
z.length()
z.length
// y is not null in both branches
<!DEBUG_INFO_SMARTCAST!>y<!>.length()
<!DEBUG_INFO_SMARTCAST!>y<!>.length
}
// y is null because of the break
return y<!UNSAFE_CALL!>.<!>length()
return y<!UNSAFE_CALL!>.<!>length
}