blob: 872e50f185c94c6963cabda3773134cf465b97e6 [file] [log] [blame]
// "Replace with 'newFun(this)'" "true"
class C {
@Deprecated("", ReplaceWith("newFun(this)"))
fun oldFun(){}
}
fun C.newFun(c: C){}
fun foo() {
val bar = 0
getBar().<caret>oldFun()
}
fun getBar(): C = C()