mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
15 lines
231 B
Kotlin
Vendored
15 lines
231 B
Kotlin
Vendored
// "Replace with 'newFun(p, p)'" "true"
|
|
|
|
@Deprecated("", ReplaceWith("newFun(p, p)"))
|
|
fun oldFun(p: Int) {
|
|
newFun(p, p)
|
|
}
|
|
|
|
fun newFun(p1: Int, p2: Int){}
|
|
|
|
fun foo() {
|
|
<caret>oldFun(bar()/*use bar()*/)
|
|
}
|
|
|
|
fun bar(): Int = 0
|