Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt.after
T

15 lines
230 B
Plaintext
Vendored

// "Replace with 'newFun(p, this)'" "true"
interface I
@Deprecated("", ReplaceWith("newFun(p, this)"))
operator fun I.plus(p: Int) {
newFun(p, this)
}
fun newFun(p: Int, i: I) { }
fun foo(i: I) {
<caret>newFun(1, i)
}