Adjust testData to CharSequence.length transformation
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cb562e7ea5
commit
f0e3fd617d
+2
-2
@@ -6,8 +6,8 @@ fun test(x: Any) {
|
||||
if (y !is String) return
|
||||
class Local {
|
||||
init {
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.length()
|
||||
<!DEBUG_INFO_SMARTCAST!>y<!>.length()
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.length
|
||||
<!DEBUG_INFO_SMARTCAST!>y<!>.length
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,10 @@ fun test(x: Any?) {
|
||||
if (x !is String) return
|
||||
|
||||
class C {
|
||||
val v = <!DEBUG_INFO_SMARTCAST!>x<!>.length()
|
||||
val v = <!DEBUG_INFO_SMARTCAST!>x<!>.length
|
||||
|
||||
val vGet: Int
|
||||
get() = <!DEBUG_INFO_SMARTCAST!>x<!>.length()
|
||||
get() = <!DEBUG_INFO_SMARTCAST!>x<!>.length
|
||||
|
||||
val s: String = <!DEBUG_INFO_SMARTCAST!>x<!>
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fun foo(x: Any?) {
|
||||
if (x is String) {
|
||||
object : Base(<!DEBUG_INFO_SMARTCAST!>x<!>) {
|
||||
fun bar() = <!DEBUG_INFO_SMARTCAST!>x<!>.length()
|
||||
fun bar() = <!DEBUG_INFO_SMARTCAST!>x<!>.length
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ fun test(x: Any) {
|
||||
class LocalOuter {
|
||||
inner class Local {
|
||||
init {
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.length()
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.length
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user