DeprecatedSymbolUsageFix - fixed bug with usage in derived class
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// "Replace with 'newFun(s)'" "true"
|
||||
|
||||
open class Base {
|
||||
@deprecated("", ReplaceWith("newFun(s)"))
|
||||
fun oldFun(s: String){}
|
||||
|
||||
fun newFun(s: String){}
|
||||
}
|
||||
|
||||
class Derived : Base() {
|
||||
fun foo() {
|
||||
<caret>newFun("a")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user