DeprecatedSymbolUsageFix: initial implementation
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// "Replace with 'newFun(this)'" "true"
|
||||
// ERROR: Unresolved reference: newFun
|
||||
|
||||
class Outer {
|
||||
inner class Inner {
|
||||
@deprecated("", ReplaceWith("newFun(this)"))
|
||||
fun oldFun() {}
|
||||
}
|
||||
|
||||
fun newFun(inner: Inner) {}
|
||||
}
|
||||
|
||||
fun foo(inner: Outer.Inner) {
|
||||
<caret>newFun(inner)
|
||||
}
|
||||
Reference in New Issue
Block a user