blob: 7b069d9425eb19b07ed07fcda4b8dc15af1197c5 [file] [log] [blame]
// "Replace with 'newFun()'" "true"
// WITH_RUNTIME
@Deprecated("", ReplaceWith("newFun()"))
fun Int.oldFun(): Int = this
fun Int.newFun(): Int = this
fun foo(list: List<String>): Int {
return list
.filter { it.isNotEmpty() }
.map { it.length }
.first()
.<caret>oldFun()
}