Fixed critical bug in DeprecatedSymbolUsageFix

This commit is contained in:
Valentin Kipyatkov
2015-05-28 11:26:15 +03:00
parent 68eca8bc00
commit d415b0c74d
4 changed files with 28 additions and 1 deletions
@@ -0,0 +1,10 @@
// "Replace with 'newFun()'" "true"
@deprecated("", ReplaceWith("newFun()"))
fun oldFun(): String = ""
fun newFun(): String = ""
fun foo() {
val value = <caret>newFun().length()
}