DeprecatedSymbolUsageFix: initial implementation
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// "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())
|
||||
}
|
||||
Reference in New Issue
Block a user