13 lines
307 B
Kotlin
Vendored
13 lines
307 B
Kotlin
Vendored
// "Replace with 'newFun(p1, p2.toString(), p3)'" "true"
|
|
|
|
interface I {
|
|
@Deprecated("", ReplaceWith("newFun(p1, p2.toString(), p3)"))
|
|
fun oldFun(p1: String, p2: Int, p3: String?)
|
|
|
|
fun newFun(p1: String, p2: String = "", p3: String? = null)
|
|
}
|
|
|
|
fun foo(i: I) {
|
|
i.<caret>oldFun("a", 0, null)
|
|
}
|