DeprecatedSymbolUsageFix preserves comments
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// "Replace with 'newFun(p, p)'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun(p, p)"))
|
||||
fun oldFun(p: Int) {
|
||||
newFun(p, p)
|
||||
}
|
||||
|
||||
fun newFun(p1: Int, p2: Int){}
|
||||
|
||||
fun foo() {
|
||||
<caret>oldFun(bar()/*use bar()*/)
|
||||
}
|
||||
|
||||
fun bar(): Int = 0
|
||||
Reference in New Issue
Block a user