15 lines
228 B
Kotlin
Vendored
15 lines
228 B
Kotlin
Vendored
// "Replace with 'newFun(p)'" "true"
|
|
|
|
class X {
|
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
|
fun oldFun(p: Any) {
|
|
newFun(p)
|
|
}
|
|
|
|
fun newFun(p: Any){}
|
|
}
|
|
|
|
fun X.foo() {
|
|
this.<caret>oldFun(this.toString())
|
|
}
|