DeprecatedSymbolUsageFix to keep line breaks when possible
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// "Replace with 'newFun()'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun()"))
|
||||
fun Int.oldFun(): Int = this
|
||||
|
||||
fun Int.newFun(): Int = this
|
||||
|
||||
fun foo(list: List<String>): Int {
|
||||
return list
|
||||
.filter { it.isNotEmpty() }
|
||||
.map { it.length() }
|
||||
.first()
|
||||
.<caret>oldFun()
|
||||
}
|
||||
Reference in New Issue
Block a user