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

13 lines
213 B
Kotlin
Vendored

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