blob: ff2e2bd6b70f7616cbbe528e3c37014925e72ac3 [file] [log] [blame]
// "Replace with 'newFun(p1, p2, null, option)'" "true"
interface I {
@Deprecated("", ReplaceWith("newFun(p1, p2, null, option)"))
fun oldFun(p1: String, p2: Int, option: Int = 1)
fun newFun(p1: String, p2New: Int, p3: String?, option: Int = 2)
}
fun foo(i: I) {
i.<caret>newFun("a", p2New = 0, p3 = null, option = 1)
}