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

15 lines
190 B
Kotlin
Vendored

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