15 lines
291 B
Kotlin
Vendored
15 lines
291 B
Kotlin
Vendored
// "Replace with 'newFun(p1, p2, p3)'" "true"
|
|
|
|
interface X {
|
|
@Deprecated("", ReplaceWith("newFun(p1, p2, p3)"))
|
|
fun oldFun(p1: Int, p2: Int, p3: Int)
|
|
|
|
fun newFun(p1: Int, p2: Int, p3: Int)
|
|
}
|
|
|
|
fun foo(x: X) {
|
|
x.<caret>oldFun(1,
|
|
2,
|
|
3)
|
|
}
|