DeprecatedSymbolUsageFix: initial implementation
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// "Replace with 'newFun(t)'" "true"
|
||||
|
||||
interface X<T> {
|
||||
@deprecated("", ReplaceWith("newFun(t)"))
|
||||
fun oldFun(t: T)
|
||||
|
||||
fun newFun(t: T)
|
||||
}
|
||||
|
||||
fun foo(x: X<String>) {
|
||||
x.<caret>oldFun("a")
|
||||
}
|
||||
Reference in New Issue
Block a user