15 lines
264 B
Kotlin
Vendored
15 lines
264 B
Kotlin
Vendored
// "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)
|
|
}
|
|
|
|
fun foo(i: I) {
|
|
i.<caret>oldFun(bar())
|
|
}
|
|
|
|
fun bar(): String = ""
|