Adjust various testData to size transformation

This commit is contained in:
Denis Zharkov
2015-10-06 11:11:18 +03:00
parent a0e9754edc
commit c21d827326
42 changed files with 59 additions and 59 deletions
@@ -1,6 +1,6 @@
fun calc(x: List<String>?): Int {
// After KT-5840 fix !! assertion should become unnecessary here
x?.get(x<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>.size() - 1)
x?.get(x<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>.size - 1)
// x?. or x!! above should not provide smart cast here
return x<!UNSAFE_CALL!>.<!>size()
return x<!UNSAFE_CALL!>.<!>size
}