DeprecatedSymbolUsageFix: initial implementation
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// "Replace with 's.newFun(this)'" "true"
|
||||
|
||||
open class Base {
|
||||
@deprecated("", ReplaceWith("s.newFun(this)"))
|
||||
fun oldFun(s: String){}
|
||||
|
||||
open inner class Inner
|
||||
}
|
||||
|
||||
class Derived : Base() {
|
||||
inner class InnerDerived : Base.Inner() {
|
||||
fun foo() {
|
||||
<caret>oldFun("a")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun String.newFun(x: Base){}
|
||||
Reference in New Issue
Block a user