mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
14 lines
205 B
Kotlin
Vendored
14 lines
205 B
Kotlin
Vendored
// "Replace with 'newFun(p)'" "true"
|
|
|
|
@Deprecated("", ReplaceWith("newFun(p)"))
|
|
infix fun String.oldFun(p: Int) {
|
|
newFun(p)
|
|
}
|
|
|
|
infix fun String.newFun(p: Int) {
|
|
}
|
|
|
|
fun foo() {
|
|
"" <caret>oldFun 1
|
|
}
|