13 lines
210 B
Kotlin
Vendored
13 lines
210 B
Kotlin
Vendored
// "Replace with 'newFun()'" "true"
|
|
|
|
@Deprecated("", ReplaceWith("newFun()"))
|
|
fun oldFun(p: Int?): Int {
|
|
return newFun()
|
|
}
|
|
|
|
fun newFun(): Int = 0
|
|
|
|
fun foo(): Int = <caret>oldFun(bar())
|
|
|
|
fun bar(): Int? = 0
|