No ReplaceWith for locals

This commit is contained in:
Valentin Kipyatkov
2015-09-07 20:46:33 +03:00
parent 452cd49c5e
commit fb72786392
4 changed files with 7 additions and 38 deletions
@@ -1,8 +0,0 @@
// "Replace with '1'" "true"
fun foo(): Int {
@Deprecated("", ReplaceWith("1"))
val localVar = 1
return <caret>localVar
}
@@ -1,8 +0,0 @@
// "Replace with '1'" "true"
fun foo(): Int {
@Deprecated("", ReplaceWith("1"))
val localVar = 1
return <caret>1
}