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