DeprecatedSymbolUsageFix - dealing with infix and operator calls
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// "Replace with 'newFun(p, this)'" "true"
|
||||
|
||||
@deprecated("", ReplaceWith("newFun(p, this)"))
|
||||
fun String.oldFun(p: Int) {
|
||||
newFun(p, this)
|
||||
}
|
||||
|
||||
fun newFun(p: Int, s: String){}
|
||||
|
||||
fun foo() {
|
||||
<caret>newFun(1, "")
|
||||
}
|
||||
Reference in New Issue
Block a user