Moved test data into subfolders
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// "Replace with 's.newFun(this)'" "true"
|
||||
|
||||
class X {
|
||||
@deprecated("", ReplaceWith("s.newFun(this)"))
|
||||
fun oldFun(s: String): String = s.newFun(this)
|
||||
}
|
||||
|
||||
fun String.newFun(x: X): String = this
|
||||
|
||||
fun foo(x: X?, p: Boolean) {
|
||||
val v = if (p)
|
||||
x?.<caret>let { "a".newFun(it) }
|
||||
else
|
||||
null
|
||||
}
|
||||
Reference in New Issue
Block a user