Fixed DeprecatedSymbolUsageInWholeProjectFix
This commit is contained in:
@@ -5,4 +5,9 @@ import pack.oldFun
|
||||
|
||||
fun foo() {
|
||||
<caret>newFun(0 + 1)
|
||||
newFun(2 + 1)
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
newFun(3 + 1)
|
||||
}
|
||||
|
||||
@@ -4,4 +4,9 @@ import pack.oldFun
|
||||
|
||||
fun foo() {
|
||||
<caret>oldFun(0)
|
||||
oldFun(2)
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
oldFun(3)
|
||||
}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
import pack.newProp
|
||||
|
||||
fun x() {
|
||||
pack.bar(pack.newProp)
|
||||
pack.bar(newProp)
|
||||
}
|
||||
|
||||
val v1 = newProp
|
||||
val v2 = newProp
|
||||
|
||||
+2
@@ -3,5 +3,7 @@ package pack
|
||||
@deprecated("", ReplaceWith("newProp"))
|
||||
val oldProp: String = ""
|
||||
|
||||
val newProp: String = ""
|
||||
|
||||
fun foo(s: String){}
|
||||
fun bar(s: String){}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
fun x() {
|
||||
pack.bar(pack.oldProp)
|
||||
}
|
||||
|
||||
val v1 = pack.oldProp
|
||||
val v2 = pack.oldProp
|
||||
|
||||
+2
@@ -3,5 +3,7 @@ package pack
|
||||
@deprecated("", ReplaceWith("newProp"))
|
||||
val oldProp: String = ""
|
||||
|
||||
val newProp: String = ""
|
||||
|
||||
fun foo(s: String){}
|
||||
fun bar(s: String){}
|
||||
|
||||
Reference in New Issue
Block a user