blob: e74ac5cd56661b4d49b5ba2fea3f720239b1158c [file]
// "Replace with 'newFun(p1, p2)'" "true"
interface I {
@Deprecated("", ReplaceWith("newFun(p1, p2)"))
fun oldFun(p1: String, p2: () -> Boolean)
fun newFun(p1: String, p2: () -> Boolean, p3: String? = null)
}
fun foo(i: I) {
i.<caret>oldFun("a") { true }
}