blob: c51aaddfd78823de72fa0da8b448b47ad1fa67ce [file] [log] [blame]
// "Replace with 'newFun(p, p)'" "true"
// WITH_RUNTIME
import java.util.*
@Deprecated("", ReplaceWith("newFun(p, p)"))
fun oldFun(p: List<String>) {
newFun(p, p)
}
fun newFun(p1: List<String>, p2: List<String>){}
fun foo() {
val p: List<String> = bar()
<caret>newFun(p, p)
}
fun <T> bar(): List<T> = ArrayList()