Moved test data into subfolders

This commit is contained in:
Valentin Kipyatkov
2015-05-21 14:12:58 +03:00
parent 6ddb208bb7
commit f8a4d9bf0b
86 changed files with 0 additions and 0 deletions
@@ -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
}