Files
kotlin-fork/idea/testData/quickfix/deprecatedSymbolUsage/operatorCall.kt
T
2015-09-04 18:19:31 +03:00

15 lines
214 B
Kotlin
Vendored

// "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
}