Fixed critical bug in DeprecatedSymbolUsageFix
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun()"))
|
||||
fun oldFun(): String = ""
|
||||
|
||||
fun newFun(): String = ""
|
||||
|
||||
fun foo() {
|
||||
val value = <caret>oldFun().length()
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun()"))
|
||||
fun oldFun(): String = ""
|
||||
|
||||
fun newFun(): String = ""
|
||||
|
||||
fun foo() {
|
||||
val value = <caret>newFun().length()
|
||||
}
|
||||
Reference in New Issue
Block a user