No ReplaceWith for locals
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user