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

14 lines
193 B
Kotlin
Vendored

// "Replace with 'newFun(p)'" "true"
@Deprecated("", ReplaceWith("newFun(p)"))
fun String.oldFun(p: Int) {
newFun(p)
}
fun String.newFun(p: Int) {
}
fun foo() {
"" <caret>oldFun 1
}