17 lines
200 B
Kotlin
Vendored
17 lines
200 B
Kotlin
Vendored
// "Replace with 'newFun()'" "true"
|
|
|
|
@Deprecated("", ReplaceWith("newFun()"))
|
|
fun oldFun(p: Int) {
|
|
newFun()
|
|
}
|
|
|
|
fun newFun(){}
|
|
|
|
fun foo() {
|
|
<caret>oldFun(O.x + 1)
|
|
}
|
|
|
|
object O {
|
|
var x = 0
|
|
}
|