blob: feef277d66526437644e8936f305e3f6b3530cfe [file] [log] [blame]
// "Replace with 'newFun(p, p)'" "true"
// WITH_RUNTIME
@Deprecated("", ReplaceWith("newFun(p, p)"))
fun oldFun(p: Int?): Int {
return newFun(p, p)
}
fun newFun(p1: Int?, p2: Int?): Int = 0
fun foo(): Int {
val p = bar()
return newFun(p, p)
}
fun bar(): Int? = null