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