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