Fixed DeprecatedSymbolUsageInWholeProjectFix

This commit is contained in:
Valentin Kipyatkov
2015-05-28 20:28:56 +03:00
parent eef0e8e447
commit 859128744e
9 changed files with 44 additions and 36 deletions
@@ -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
@@ -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
@@ -3,5 +3,7 @@ package pack
@deprecated("", ReplaceWith("newProp"))
val oldProp: String = ""
val newProp: String = ""
fun foo(s: String){}
fun bar(s: String){}