Adjust testData to CharSequence.length transformation
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cb562e7ea5
commit
f0e3fd617d
@@ -3,14 +3,14 @@
|
||||
fun foo(o: Any) {
|
||||
if (o is String) {
|
||||
val s = o <!USELESS_CAST!>as String<!>
|
||||
s.length()
|
||||
s.length
|
||||
}
|
||||
}
|
||||
|
||||
fun foo1(o: Any) {
|
||||
if (o is String) {
|
||||
<!DEBUG_INFO_SMARTCAST!>o<!>.length()
|
||||
<!DEBUG_INFO_SMARTCAST!>o<!>.length
|
||||
val s = o
|
||||
<!DEBUG_INFO_SMARTCAST!>s<!>.length()
|
||||
<!DEBUG_INFO_SMARTCAST!>s<!>.length
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user