blob: ee4fd0cced364dab499815e166333797f2b41406 [file] [log] [blame]
// "Replace with 'newFun(p1, p2, p3)'" "true"
interface I {
@Deprecated("", ReplaceWith("newFun(p1, p2, p3)"))
fun oldFun(p1: String, p2: String = bar(), p3: String = p2)
fun newFun(p1: String, p2: String, p3: String)
}
fun foo(i: I) {
val p2 = bar()
i.<caret>newFun("", p2, p2)
}
fun bar(): String = ""